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
cp/
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
crash53.C
blob
bbd1e7fc7aeb3598f38a3c9d2219d41521d26d80
1
// PR c++/28110
2
// { dg-do compile }
3
4
template<int> struct A {};
5
6
template<typename T> struct B
7
{
8
template<T I> B(A<I>); // { dg-error "template constant parameter" }
9
};
10
11
B<double> a=A<0>(); // { dg-error "non-scalar type" }