summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/20010516-1.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/20010516-1.c')
-rw-r--r--gcc/testsuite/gcc.dg/20010516-1.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/20010516-1.c b/gcc/testsuite/gcc.dg/20010516-1.c
index e9b419f1a68..6ddabd0931d 100644
--- a/gcc/testsuite/gcc.dg/20010516-1.c
+++ b/gcc/testsuite/gcc.dg/20010516-1.c
@@ -1,5 +1,7 @@
+/* { dg-options "-fshow-column" } */
+
foo()
{
char d;
- __asm volatile ( "" :: "m"(&d)); /* { dg-error "" "non-lvalue" } */
+ __asm volatile ( "" :: "m"(&d)); /* { dg-error "34:" "non-lvalue" } */
}