diff options
author | ebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-09-23 09:42:50 +0000 |
---|---|---|
committer | ebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-09-23 09:42:50 +0000 |
commit | 497456568ee71f05fa172e71345e88b29b7c5b8f (patch) | |
tree | 864c5fd7d865a3cc34512e15a3005c0967e2dad5 /gcc/testsuite/gcc.dg/format | |
parent | 301b177e7a1e651264e8928544a8fcd4bc7fe894 (diff) | |
download | gcc-497456568ee71f05fa172e71345e88b29b7c5b8f.tar.gz |
* gcc.dg/pragma-init-fini.c: Use dg-warning in lieu of dg-error.
* gcc.dg/pragma-align-2.c: Likewise.
* gcc.dg/format/cmn-err-1.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@140582 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.dg/format')
-rw-r--r-- | gcc/testsuite/gcc.dg/format/cmn-err-1.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/gcc/testsuite/gcc.dg/format/cmn-err-1.c b/gcc/testsuite/gcc.dg/format/cmn-err-1.c index 5da83c45129..7e291d35abe 100644 --- a/gcc/testsuite/gcc.dg/format/cmn-err-1.c +++ b/gcc/testsuite/gcc.dg/format/cmn-err-1.c @@ -27,12 +27,12 @@ int main() cmn_err_func (0, "%p", string); cmn_err_func (0, "%16b", i, "\01Foo"); - cmn_err_func (0, "%i", i); /* { dg-error "unknown|too many" } */ - cmn_err_func (0, "%d", l); /* { dg-error "expects type" } */ - cmn_err_func (0, "%b"); /* { dg-error "too few" } */ - cmn_err_func (0, "%b", i); /* { dg-error "too few" } */ - cmn_err_func (0, "%b", i, i); /* { dg-error "expects type" } */ - cmn_err_func (0, "%b", string, i); /* { dg-error "expects type" } */ - cmn_err_func (0, "%p", 3); /* { dg-error "expects type" } */ + cmn_err_func (0, "%i", i); /* { dg-warning "unknown|too many" } */ + cmn_err_func (0, "%d", l); /* { dg-warning "expects type" } */ + cmn_err_func (0, "%b"); /* { dg-warning "too few" } */ + cmn_err_func (0, "%b", i); /* { dg-warning "too few" } */ + cmn_err_func (0, "%b", i, i); /* { dg-warning "expects type" } */ + cmn_err_func (0, "%b", string, i); /* { dg-warning "expects type" } */ + cmn_err_func (0, "%p", 3); /* { dg-warning "expects type" } */ return 0; } |