summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/asm-qual-1.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/asm-qual-1.c')
-rw-r--r--gcc/testsuite/gcc.dg/asm-qual-1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/gcc.dg/asm-qual-1.c b/gcc/testsuite/gcc.dg/asm-qual-1.c
index 9c931d40753..5ec9a29a910 100644
--- a/gcc/testsuite/gcc.dg/asm-qual-1.c
+++ b/gcc/testsuite/gcc.dg/asm-qual-1.c
@@ -7,6 +7,6 @@ void
f (void)
{
asm volatile ("");
- asm const (""); /* { dg-warning "warning: const qualifier ignored on asm" } */
- asm restrict (""); /* { dg-warning "warning: restrict qualifier ignored on asm" } */
+ asm const (""); /* { dg-warning "const qualifier ignored on asm" } */
+ asm restrict (""); /* { dg-warning "restrict qualifier ignored on asm" } */
}