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
/
switch-2.c
blob
cedb69f7b996b4dc92c43c644ef296176a26551c
1
/* PR c/9262 */
2
/* Originator: Rasmus Hahn <rassahah@neofonie.de> */
3
/* { dg-do compile } */
4
5
int
foo
(
int
i
)
6
{
7
switch
(
i
)
8
case
3
:
9
return
1
,
10
}
/* { dg-error "parse error|syntax error|expected" } */