repo.or.cz
/
official-gcc
/
graphite-test-results.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge from mainline (167278:168000).
[official-gcc/graphite-test-results.git]
/
gcc
/
testsuite
/
g++.dg
/
ext
/
stmtexpr10.C
blob
f7c5f8f591f6dba58d6fd0e7b1878c171e5c1cae
1
/* { dg-do compile } " */
2
/* { dg-options "" } */
3
4
void foo(int i)
5
{
6
(i ? 1 : 2) = ({ X; }); /* { dg-error "" } */
7
}
8
9
struct A
10
{
11
~A ();
12
void foo()
13
{
14
delete this = ({ X; }); /* { dg-error "" } */
15
}
16
};