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
Update ChangeLog and version files for release
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
crash97.C
blob
7d2161f54f3e07c1c11ad7028cf9233313be8491
1
// PR c++/34272
2
3
template<typename> struct A {};
4
5
template<typename> struct A<int> // { dg-error "not deducible|template\\-parameter" }
6
{
7
template<int> void foo();
8
};
9
10
void bar()
11
{
12
A<int> a; // { dg-error "incomplete type" }
13
a.foo<0>(); // { dg-error "expected" }
14
}