diff options
Diffstat (limited to 'gcc/testsuite/g++.dg/template/array11.C')
-rw-r--r-- | gcc/testsuite/g++.dg/template/array11.C | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/gcc/testsuite/g++.dg/template/array11.C b/gcc/testsuite/g++.dg/template/array11.C deleted file mode 100644 index 259c9fabc03..00000000000 --- a/gcc/testsuite/g++.dg/template/array11.C +++ /dev/null @@ -1,14 +0,0 @@ -// { dg-do compile } -// Origin: Giovanni Bajo <giovannibajo at gcc dot gnu dot org> -// PR c++/19208: Fold dependent array domains - -template <class C> struct if_t { typedef int type; }; -template <class T> struct ffff { static const bool value = true; }; -template <class A> -struct bound_member_action -{ - typedef char f[ffff<A>::value ? 1 : 2]; - template <class CT> - bound_member_action(CT i, typename if_t<f>::type g) {} -}; -bound_member_action<int> a(0, 1); |