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
/
label13.C
blob
d932a9a50514c341d0de59296294277f7086d12c
1
// PR c++/41090
2
// { dg-do run }
3
// { dg-options "" }
4
5
int i;
6
struct C
7
{
8
C();
9
};
10
11
C::C() // { dg-bogus "can never be copied" "" { xfail { { *-apple-darwin* alpha*-dec-osf* } || { hppa*-*-hpux* && { ! hppa*64*-*-* } } } } }
12
{
13
static void *labelref = &&label;
14
goto *labelref;
15
label: i = 1;
16
}
17
18
int main()
19
{
20
C c;
21
return (i != 1);
22
}