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
Rebase.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
crash9.C
blob
f54d6387c291bdce578a37ef7bf3fe19b176b70c
1
// { dg-do assemble }
2
3
template <class T>
4
void f(T) {} // { dg-message "initializing" }
5
6
class C; // { dg-message "forward declaration" }
7
8
void g(const C& c)
9
{
10
f(c); // { dg-error "invalid use of incomplete type" }
11
}