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