diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.pt/alignof.C')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.pt/alignof.C | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/alignof.C b/gcc/testsuite/g++.old-deja/g++.pt/alignof.C deleted file mode 100644 index 0cfeed4084c..00000000000 --- a/gcc/testsuite/g++.old-deja/g++.pt/alignof.C +++ /dev/null @@ -1,21 +0,0 @@ -extern "C" void abort(); - -struct S -{ - char c; - double d; -}; - - -template <class T> -void foo(T) -{ - if (__alignof__(T) != __alignof__(S)) - abort(); -} - - -int main() -{ - foo(S()); -} |