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
PR c++/85765 - SFINAE and non-type default template arg.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
gen-attrs-61.C
blob
fd7f4437dbb023efe5be453d97036161b7e42162
1
// { dg-do compile { target c++11 } }
2
int
3
foo ()
4
{
5
int i [[and::bitor, bar::xor_eq, compl::baz(1), bitand::xor_eq(2, 3)]]; // { dg-warning "ignored" }
6
int j [[using, using::baz, bar::using, using::using (2)]]; // { dg-warning "ignored" }
7
i = 0;
8
j = 0;
9
return i + j;
10
}