summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/wtr-union-init-2.c
diff options
context:
space:
mode:
authorneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2000-12-07 23:21:09 +0000
committerneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2000-12-07 23:21:09 +0000
commitc2861d8e10eddd2d3f52e46b6a3ca2d4bd47d966 (patch)
tree1b7a9a5c1f835fd7c29e61ae07a28ed8d9a4d4ee /gcc/testsuite/gcc.dg/wtr-union-init-2.c
parent2fd3b10bfcb04f4da41017ad1656ba1ecbafb012 (diff)
downloadgcc-c2861d8e10eddd2d3f52e46b6a3ca2d4bd47d966.tar.gz
* gcc.dg/wtr-aggr-init-1.c, wtr-escape-1.c, wtr-int-type-1.c,
wtr-label-1.c, wtr-static-1.c, wtr-strcat-1.c, wtr-suffix-1.c, wtr-switch-1.c, wtr-unary-plus-1.c, wtr-union-init-1.c wtr-union-init-2.c, wtr-union-init-3.c: Update. * gcc.dg/cpp/extratokens.c, tr-warn4.c, tr-warn5.c, tr-warn6.c: Update. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38121 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.dg/wtr-union-init-2.c')
-rw-r--r--gcc/testsuite/gcc.dg/wtr-union-init-2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/wtr-union-init-2.c b/gcc/testsuite/gcc.dg/wtr-union-init-2.c
index 3c2aad71111..6366ff326d8 100644
--- a/gcc/testsuite/gcc.dg/wtr-union-init-2.c
+++ b/gcc/testsuite/gcc.dg/wtr-union-init-2.c
@@ -31,7 +31,7 @@ testfunc (void)
static union foo1 f7 = {1.0}; /* { dg-warning "traditional C rejects initialization of unions" "initialization of unions" } */
static union foo2 f8 = {1.0}; /* { dg-warning "traditional C rejects initialization of unions" "initialization of unions" } */
-#line 35 "sys-header.h" 3
+# 35 "sys-header.h" 3
/* We are in system headers now, no -Wtraditional warnings should issue. */
static union foo1 b1 = {0};