Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8)

Unified Diff: gcc/gcc/testsuite/gcc.dg/Wunreachable-6.c

Issue 3050029: [gcc] GCC 4.5.0=>4.5.1 (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/nacl-toolchain.git
Patch Set: Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gcc/gcc/testsuite/gcc.dg/Wunreachable-5.c ('k') | gcc/gcc/testsuite/gcc.dg/Wunreachable-7.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gcc/gcc/testsuite/gcc.dg/Wunreachable-6.c
diff --git a/gcc/gcc/testsuite/gcc.dg/Wunreachable-6.c b/gcc/gcc/testsuite/gcc.dg/Wunreachable-6.c
deleted file mode 100644
index 6aac7aab205d201ae99c9da3d65545c366bea85e..0000000000000000000000000000000000000000
--- a/gcc/gcc/testsuite/gcc.dg/Wunreachable-6.c
+++ /dev/null
@@ -1,21 +0,0 @@
-/* PR c/11370 */
-/* { dg-do compile } */
-/* { dg-options "-Wunreachable-code" } */
-
-extern int printf (const char *, ...);
-extern void exit (int);
-
-int main(int argc, char *argv[])
-{
- if (argc != 1)
- exit(1);
-
- {
- int ix; /* { dg-bogus "will never be executed" } */
- ix = printf("hello\n");
- printf("%d\n", ix);
- }
-
- return 0;
-}
-
« no previous file with comments | « gcc/gcc/testsuite/gcc.dg/Wunreachable-5.c ('k') | gcc/gcc/testsuite/gcc.dg/Wunreachable-7.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698