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 concepts branch to revision 131834
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
cond2.C
blob
abb6ebb5d4676a0497c6386a5fa5222601d85e88
1
// PR c++/11962
2
// { dg-options "" }
3
4
template<int X> class c;
5
6
template<int X, int Y> int test(c<X ? : Y>&);
7
8
void test(c<2>*c2) {
9
test<0, 2>(*c2); // { dg-error "omitted" }
10
}