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
diagnostics: return text buffer from test_show_locus [PR116613]
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
other
/
ctor1.C
blob
65449f4c69155a7ea02c0e4c65005139d5a87cb8
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
class A
7
{
8
int i;
9
};
10
11
A::A() { A(); } /* { dg-error "definition of implicitly-declared" } */