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
/
ref3.C
blob
91e3c93a35d9e275ec68061f153b75d40719242b
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|not a valid" }
8
A<T(0)> a; // { dg-error "constant|not a valid" "" { xfail c++98_only } }
9
// PR c++/68699
10
};
11
12
B<const int&> b;