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
pr70100.c: Add -mvsx.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
diagnostic
/
pr84138.C
blob
5c48b9b164a9c0194c0289ff70bc15fa379ed85b
1
// PR c++/84138
2
3
char
4
foo()
5
{
6
const int i = 0 = 0; // { dg-error "lvalue required as left operand" }
7
return 1 ? 0 : (char)i;
8
} // { dg-warning "control reaches" }