repo.or.cz
/
official-gcc
/
graphite-test-results.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge from mainline (165734:167278).
[official-gcc/graphite-test-results.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
ref3.C
blob
4390f71b4077455ac7386407b9ec213b8aef7d14
1
// PR c++/28341
2
3
template<const int&> struct A {};
4
5
template<typename T> struct B
6
{
7
A<(T)0> b; // { dg-error "constant" }
8
A<T(0)> a; // { dg-error "constant" }
9
};
10
11
B<const int&> b;