diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.brendan/template8.C')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.brendan/template8.C | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.brendan/template8.C b/gcc/testsuite/g++.old-deja/g++.brendan/template8.C deleted file mode 100644 index 80adbe1a05c..00000000000 --- a/gcc/testsuite/g++.old-deja/g++.brendan/template8.C +++ /dev/null @@ -1,20 +0,0 @@ -// Build don't link: -// GROUPS passed templates -#include <stdio.h> - -// make sure we accept unions for templates -template<int n> -union Double_alignt{ - double for_alignt; - char array[n]; - -}; - -int main(){ - - - Double_alignt<20000> heap; - - printf(" &heap.array[0] = %d, &heap.for_alignt = %d\n", &heap.array[0], &heap.for_alignt); - -} |