aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.jason/rfg23.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.jason/rfg23.C')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.jason/rfg23.C2
1 files changed, 2 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 00000000000..73bcfc0f0e6
--- /dev/null
+++ b/gcc/testsuite/g++.old-deja/g++.jason/rfg23.C
@@ -0,0 +1,2 @@
+ signed char *ptr2 = "hello"; /* ERROR - changing sign */
+unsigned char *ptr3 = "hello"; /* ERROR - changing sign */