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++/86728 - C variadic generic lambda.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
expr
/
cond9.C
blob
b344c1f683a1e3c6fda6794f4c51f5243e4f64f7
1
// PR c++/27666
2
3
struct A { // { dg-message "A" }
4
A(int);
5
};
6
7
void foo(volatile A a) {
8
1 ? a : 0; // { dg-error "qualifiers|lvalue|no match" }
9
1 ? 0 : a; // { dg-error "qualifiers|lvalue|no match" }
10
}