diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.other/init12.C')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.other/init12.C | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.other/init12.C b/gcc/testsuite/g++.old-deja/g++.other/init12.C deleted file mode 100644 index ee0a029253a..00000000000 --- a/gcc/testsuite/g++.old-deja/g++.other/init12.C +++ /dev/null @@ -1,22 +0,0 @@ -// Build don't run: -// Special g++ Options: -O3 -// Origin: Mark Mitchell <mark@codesourcery.com> - -typedef int (*fp)(); - -struct S -{ - fp f; -}; - -struct T -{ - static int f() {} -}; - -static const S s = { &T::f }; - -int main() -{ - return (*s.f)(); -} |