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
c++: robustify testcase [PR109752]
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
pr108206.C
blob
9362d261bea57c3be7f9f073dfd274106bd0c06a
1
// PR c++/108206
2
// { dg-do compile { target c++11 } }
3
4
template <X x, typename T1> void foo (T1); // { dg-error "'X' has not been declared" }
5
template <X x, typename T2> void foo (T2); // { dg-error "'X' has not been declared" }