diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.jason/rfg15.C')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.jason/rfg15.C | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.jason/rfg15.C b/gcc/testsuite/g++.old-deja/g++.jason/rfg15.C new file mode 100644 index 00000000000..1f0ff3b64e7 --- /dev/null +++ b/gcc/testsuite/g++.old-deja/g++.jason/rfg15.C @@ -0,0 +1,6 @@ +const void *cvp; + +const void func1 () +{ + return *cvp; /* ERROR - returning a value from a void function */ +} |