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
2014-01-30 Alangi Derick <alangiderick@gmail.com>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
cond2.C
blob
e6bd19d40fa85a33d2cb458a0ed72639a6f47acf
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>&); // { dg-error "omitted" }
7
8
void test(c<2>*c2) {
9
test<0, 2>(*c2);
10
}