aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/parse/crash14.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.dg/parse/crash14.C')
-rw-r--r--gcc/testsuite/g++.dg/parse/crash14.C20
1 files changed, 0 insertions, 20 deletions
diff --git a/gcc/testsuite/g++.dg/parse/crash14.C b/gcc/testsuite/g++.dg/parse/crash14.C
deleted file mode 100644
index b4cf49a9921..00000000000
--- a/gcc/testsuite/g++.dg/parse/crash14.C
+++ /dev/null
@@ -1,20 +0,0 @@
-// { dg-do compile }
-// Contributed by: Giovanni Bajo <giovannibajo at libero dot it>
-// PR c++/14448: Fold constant initializers in templates
-
-template <int> struct A
-{
- A();
-};
-
-
-template<typename T> void foo(T)
-{
- static const int n=1+1;
- A<n+1> a;
-}
-
-void bar()
-{
- foo(0);
-}