diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.pt/explicit68.C')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.pt/explicit68.C | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/explicit68.C b/gcc/testsuite/g++.old-deja/g++.pt/explicit68.C deleted file mode 100644 index bc47c6c8f11..00000000000 --- a/gcc/testsuite/g++.old-deja/g++.pt/explicit68.C +++ /dev/null @@ -1,24 +0,0 @@ -// Build don't link: - -template <bool B> -struct S -{ - static void g(); -}; - -template <bool B> -void g(); - -template<unsigned Length> -void f() -{ - const bool b = true; - g<b>(); - const bool b1 = (Length == 2); - S<b1>::g(); -} - -void h() -{ - f<3>(); -} |