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
2014-02-26 Fabien Chene <fabien@gcc.gnu.org>
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
sizeof11.C
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