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
2014-01-30 Alangi Derick <alangiderick@gmail.com>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
crash98.C
blob
a79ab02f695f453ea01255cf54dba52fb438d6fc
1
// PR c++/43630
2
3
template < typename > struct A;
4
5
template < typename > struct A < int > // { dg-error "not used|template\\-parameter|declaration" }
6
{
7
int i;
8
int f ();
9
};
10
11
int A < int >::f () // { dg-error "incomplete type" }
12
{
13
return i;
14
}