repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merged with mainline at revision 128810.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
warn
/
pedantic2.C
blob
5a9bf1d3925230a369934ce2b7537d46c1526338
1
// { dg-options "-pedantic" }
2
3
class foo
4
{
5
foo() {};
6
void bar() {};
7
8
foo(int) {};; // { dg-error "extra" }
9
void bar(int) {};; // { dg-error "extra" }
10
};