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
LWG 3035. std::allocator's constructors should be constexpr
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
gimplefe-error-2.c
blob
216623e6d0f9b0f3a0596444f8fad86200d12b93
1
/* { dg-do compile } */
2
/* { dg-options "-fgimple" } */
3
4
int
__GIMPLE
()
5
main
(
int
argc
,
char
* *
argv
)
6
{
7
8
bb_2
:
9
switch
(
a
) {
default
:
L2
;
case
1
:
L0
;
case
2
:
L1
; }
/* { dg-error "undeclared" } */
10
11
L0
:
12
a
=
0
;
13
goto
bb_6
;
14
15
L1
:
16
a
=
3
;
17
goto
L2
;
18
19
L2
:
20
return
a
;
21
}