]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.pt/alignof.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / alignof.C
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 (file)
index 0cfeed4..0000000
+++ /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());
-}