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
Match: Fix ordered and nonequal
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
sizeof11.C
blob
b1d4f72c7712eabed9c70475a81f5bb5a88737b1
1
// PR c++/29435
2
3
template < class T > struct A {};
4
template < int> void g()
5
{
6
sizeof (A < int>);
7
}
8
9
template < class T > struct B;
10
template < int> void f()
11
{
12
sizeof (B<int>); // { dg-error "3:invalid application of .sizeof. to incomplete type" }
13
}
14