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
libstdc++: Fix std::chrono::parse for TAI and GPS clocks
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
ext
/
label13.C
blob
8b39716a508c347d94bdc88d4cb2c766d712153a
1
// PR c++/41090
2
// { dg-do run }
3
// { dg-options "" }
4
// { dg-require-effective-target indirect_jumps }
5
6
int i;
7
struct C
8
{
9
C();
10
};
11
12
C::C() // { dg-bogus "can never be copied" }
13
{
14
static void *labelref = &&label;
15
goto *labelref;
16
label: i = 1;
17
}
18
19
int main()
20
{
21
C c;
22
return (i != 1);
23
}