aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr45461.c
diff options
context:
space:
mode:
authorJanis Johnson <janisjo@codesourcery.com>2012-06-12 20:25:16 +0000
committerJanis Johnson <janis@gcc.gnu.org>2012-06-12 20:25:16 +0000
commit3eae54ca6e8c32569def0478d351d217d33d0ae6 (patch)
treedddf89b40ff1fbb4dfc8b172144a84495e1a510b /gcc/testsuite/gcc.dg/pr45461.c
parent526d4b72795c51339c5d6d632b915e48f61b5642 (diff)
downloadgcc-3eae54ca6e8c32569def0478d351d217d33d0ae6.zip
gcc-3eae54ca6e8c32569def0478d351d217d33d0ae6.tar.gz
gcc-3eae54ca6e8c32569def0478d351d217d33d0ae6.tar.bz2
20031223-1.c: Add comments to check for multiple messages reported for one line of source code.
* gcc.dg/20031223-1.c: Add comments to check for multiple messages reported for one line of source code. * gcc.dg/Wconversion-integer.c: Likewise. * gcc.dg/Wfatal-2.c: Likewise. * gcc.dg/Wfatal.c: Likewise. * gcc.dg/Wobjsize-1.c: Likewise. * gcc.dg/c99-vla-jump-1.c: Likewise. * gcc.dg/c99-vla-jump-2.c: Likewise. * gcc.dg/c99-vla-jump-3.c: Likewise. * gcc.dg/c99-vla-jump-4.c: Likewise. * gcc.dg/c99-vla-jump-5.c: Likewise. * gcc.dg/decl-9.c: Likewise. * gcc.dg/declspec-10.c: Likewise. * gcc.dg/declspec-18.c: Likewise. * gcc.dg/mtune.c: Likewise. * gcc.dg/parser-pr28152-2.c: Likewise. * gcc.dg/parser-pr28152.c: Likewise. * gcc.dg/pr14475.c: Likewise. * gcc.dg/pr27953.c: Likewise. * gcc.dg/pr28322-3.c: Likewise. * gcc.dg/pr30457.c: Likewise. * gcc.dg/pr30551-2.c: Likewise. * gcc.dg/pr30551-3.c: Likewise. * gcc.dg/pr30551-4.c: Likewise. * gcc.dg/pr30551-5.c: Likewise. * gcc.dg/pr30551-6.c: Likewise. * gcc.dg/pr30551.c: Likewise. * gcc.dg/pr45461.c: Likewise. * gcc.dg/pr48552-1.c: Likewise. * gcc.dg/pr48552-2.c: Likewise. * gcc.dg/redecl-1.c: Likewise. * gcc.dg/transparent-union-3.c: Likewise. * gcc.dg/utf-dflt.c: Likewise. * gcc.dg/utf-dflt2.c: Likewise. * gcc.dg/vla-8.c: Likewise. * gcc.dg/vla-init-1.c: Likewise. * gcc.dg/wtr-int-type-1.c: Likewise. From-SVN: r188478
Diffstat (limited to 'gcc/testsuite/gcc.dg/pr45461.c')
-rw-r--r--gcc/testsuite/gcc.dg/pr45461.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/testsuite/gcc.dg/pr45461.c b/gcc/testsuite/gcc.dg/pr45461.c
index 7968f733..7f287bd 100644
--- a/gcc/testsuite/gcc.dg/pr45461.c
+++ b/gcc/testsuite/gcc.dg/pr45461.c
@@ -9,10 +9,10 @@ foo (int i, ...)
short e;
va_list ap;
va_start (ap, i);
- e = va_arg (ap, short); /* { dg-warning "is promoted" } */
+ e = va_arg (ap, short); /* { dg-warning "is promoted" "promoted" } */
va_end (ap);
return e;
}
-/* { dg-message "note: \\(so you should pass" "" {target *-*-* } 12 } */
-/* { dg-message "note: if this code" "" {target *-*-* } 12 } */
+/* { dg-message "note: \\(so you should pass" "should pass" {target *-*-* } 12 } */
+/* { dg-message "note: if this code" "if this code" {target *-*-* } 12 } */