diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.jason/rfg23.C')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.jason/rfg23.C | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.jason/rfg23.C b/gcc/testsuite/g++.old-deja/g++.jason/rfg23.C new file mode 100644 index 000000000..8bf9f7c56 --- /dev/null +++ b/gcc/testsuite/g++.old-deja/g++.jason/rfg23.C @@ -0,0 +1,3 @@ +// { dg-do assemble } + signed char *ptr2 = "hello"; /* { dg-error "" } changing sign */ +unsigned char *ptr3 = "hello"; /* { dg-error "" } changing sign */ |