OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* gcc.dg/20001023-1.c, gcc.dg/20001108-1.c, gcc.dg/20001117-1.c,
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.dg
/
switch-warn-1.c
diff --git
a/gcc/testsuite/gcc.dg/switch-warn-1.c
b/gcc/testsuite/gcc.dg/switch-warn-1.c
index
d98bfa8
..
04ca4e3
100644
(file)
--- a/
gcc/testsuite/gcc.dg/switch-warn-1.c
+++ b/
gcc/testsuite/gcc.dg/switch-warn-1.c
@@
-1,6
+1,9
@@
/* { dg-do run } */
/* { dg-options "-O0" } */
+extern void abort (void);
+extern void exit (int);
+
/* Check that out-of-bounds case warnings work in the case that the
testing expression is promoted. */
int