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
2017-06-14 Paolo Carlini <paolo.carlini@oracle.com>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
sizeof11.C
blob
7428e0b238071970ec9fce88de18e719376209ae
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 "incomplete" }
13
}
14