diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.jason/rfg18.C')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.jason/rfg18.C | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.jason/rfg18.C b/gcc/testsuite/g++.old-deja/g++.jason/rfg18.C deleted file mode 100644 index 53c3dd1628f..00000000000 --- a/gcc/testsuite/g++.old-deja/g++.jason/rfg18.C +++ /dev/null @@ -1,11 +0,0 @@ -// Any expression may be explicitly converted to type void. -// Build don't link: - -struct S { int m[10]; } object; -struct S f () { return object; } - -void -test () -{ - (void) f().m; /* OK - cast to void; see constraints in 3.8.1 */ -} |