repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Daily bump.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
other
/
ctor2.C
blob
65bd859027e9272a9586923242a09c4a7c0d3a57
1
/* { dg-do compile } */
2
// PR C++/30303
3
// This used to ICE because we did not return NULL
4
// in grokfndecl when an error happened.
5
6
7
class A
8
{
9
int i;
10
};
11
12
void foo()
13
{
14
A();
15
}
16
17
A::A() {} /* { dg-error "definition of implicitly-declared" } */