aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg
diff options
context:
space:
mode:
authorRafael Avila de Espindola <espindola@google.com>2009-04-23 08:44:55 +0000
committerRafael Espindola <espindola@gcc.gnu.org>2009-04-23 08:44:55 +0000
commit4782dfa72f25706e3276784417630b6d163e784d (patch)
tree412429910bb7bc48d11c2822258a78fd643f718d /gcc/testsuite/gcc.dg
parentbf7580081f80221fa08b86dafded43635095e788 (diff)
downloadgcc-4782dfa72f25706e3276784417630b6d163e784d.zip
gcc-4782dfa72f25706e3276784417630b6d163e784d.tar.gz
gcc-4782dfa72f25706e3276784417630b6d163e784d.tar.bz2
gcc_diag-1.c (foo): Don't check that %E produces a warning.
2009-04-23 Rafael Avila de Espindola <espindola@google.com> * gcc.dg/format/gcc_diag-1.c (foo): Don't check that %E produces a warning. 2009-04-23 Rafael Avila de Espindola <espindola@google.com> * c-format.c (gcc_tdiag_char_table): Add support for %E. From-SVN: r146638
Diffstat (limited to 'gcc/testsuite/gcc.dg')
-rw-r--r--gcc/testsuite/gcc.dg/format/gcc_diag-1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/format/gcc_diag-1.c b/gcc/testsuite/gcc.dg/format/gcc_diag-1.c
index f8af0ea..6bfa3ce 100644
--- a/gcc/testsuite/gcc.dg/format/gcc_diag-1.c
+++ b/gcc/testsuite/gcc.dg/format/gcc_diag-1.c
@@ -137,7 +137,7 @@ foo (int i, int i1, int i2, unsigned int u, double d, char *s, void *p,
cxxdiag ("%+H", loc); /* { dg-warning "format" "bogus modifier" } */
diag ("%D", t1); /* { dg-warning "format" "bogus tree" } */
tdiag ("%A", t1); /* { dg-warning "format" "bogus tree" } */
- tdiag ("%E", t1); /* { dg-warning "format" "bogus tree" } */
+ tdiag ("%E", t1);
tdiag ("%#D", t1); /* { dg-warning "format" "bogus modifier" } */
cdiag ("%A", t1); /* { dg-warning "format" "bogus tree" } */
cdiag ("%#D", t1); /* { dg-warning "format" "bogus modifier" } */