Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
ad357614
Commit
ad357614
authored
Dec 20, 2007
by
Jason Merrill
Committed by
Jason Merrill
Dec 20, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* gcc.dg/overload/arg[14].C: Remove expected errors.
From-SVN: r131116
parent
f1090323
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
11 deletions
+12
-11
gcc/testsuite/ChangeLog
+4
-0
gcc/testsuite/g++.dg/overload/arg1.C
+4
-5
gcc/testsuite/g++.dg/overload/arg4.C
+4
-6
No files found.
gcc/testsuite/ChangeLog
View file @
ad357614
2007
-
12
-
20
Jason
Merrill
<
jason
@redhat
.
com
>
*
gcc
.
dg
/
overload
/
arg
[
14
].
C
:
Remove
expected
errors
.
2007
-
12
-
20
Jakub
Jelinek
<
jakub
@redhat
.
com
>
2007
-
12
-
20
Jakub
Jelinek
<
jakub
@redhat
.
com
>
PR
c
++/
34459
PR
c
++/
34459
gcc/testsuite/g++.dg/overload/arg1.C
View file @
ad357614
// { dg-options "-std=c++98" }
// { dg-do compile }
// { dg-do compile }
// Copyright (C) 2004 Free Software Foundation, Inc.
// Copyright (C) 2004 Free Software Foundation, Inc.
...
@@ -11,14 +10,14 @@ struct A {};
...
@@ -11,14 +10,14 @@ struct A {};
struct
B
:
A
struct
B
:
A
{
{
B
(
int
);
// { dg-error "" "" }
B
(
int
);
B
(
B
&
);
// { dg-error "" "" }
B
(
B
&
);
B
(
A
);
// { dg-error "" "" }
B
(
A
);
};
};
void
foo
(
B
);
void
foo
(
B
);
void
bar
()
void
bar
()
{
{
foo
(
0
);
// { dg-error "no matching function|initializing" "" }
foo
(
0
);
}
}
gcc/testsuite/g++.dg/overload/arg4.C
View file @
ad357614
// { dg-options "-std=c++98" }
// { dg-do compile }
// { dg-do compile }
// Copyright (C) 2004 Free Software Foundation, Inc.
// Copyright (C) 2004 Free Software Foundation, Inc.
...
@@ -11,9 +10,9 @@ struct A {};
...
@@ -11,9 +10,9 @@ struct A {};
struct
B
:
A
struct
B
:
A
{
{
B
(
int
);
// { dg-error "" "" }
B
(
int
);
B
(
B
&
);
// { dg-error "" "" }
B
(
B
&
);
B
(
A
);
// { dg-error "" "" }
B
(
A
);
};
};
struct
C
struct
C
...
@@ -27,5 +26,4 @@ void foo(B);
...
@@ -27,5 +26,4 @@ void foo(B);
void
bar
()
void
bar
()
{
{
C
c
;
C
c
;
foo
(
c
);
// { dg-error "no matching function|initializing" "" }
foo
(
c
);}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment