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
* doc/invoke.texi: Document -std=c++17 and -std=gnu++17 and document
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
torture
/
pr40335.C
blob
295a356d3fad6711cf98692add135f35a54de240
1
/* { dg-do run } */
2
3
extern "C" void abort (void);
4
int
5
main (void)
6
{
7
int i = -1;
8
switch ((signed char) i)
9
{
10
case 255: /* { dg-bogus "exceeds maximum value" "" { xfail *-*-* } } */
11
abort (); /* { dg-warning "statement will never be executed" } */
12
default:
13
break;
14
}
15
}
16