OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* gcc.dg/tm/memopt-6.c: Cleanup tmedge tree dump.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
crash98.C
1
// PR c++/43630
2
3
template < typename > struct A; // { dg-error "declaration" }
4
5
template < typename > struct A < int > // { dg-error "not used|template\\-parameter" }
6
{
7
int i;
8
int f ();
9
};
10
11
int A < int >::f () // { dg-error "incomplete type" }
12
{
13
return i;
14
}