OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
7a2665c59d90834662ec78c7802dac7e97f8b62d
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
ext
/
label13.C
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* } }
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
}