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
Require target lra in gcc.dg/pr108095.c
[official-gcc.git]
/
gcc
/
testsuite
/
c-c++-common
/
Wswitch-outside-range-2.c
blob
20cc019b209dd3d8a8aa8fbd84fe095ff9984b17
1
// PR c++/90875
2
// { dg-options -Wno-switch-outside-range }
3
4
void
f
(
char
c
)
5
{
6
switch
(
c
)
7
case
300
:
//{ dg-bogus "case label value is less than minimum value for type" }
8
case
-
300
:;
// { dg-bogus "case label value is less than minimum value for type" }
9
}