aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/concepts/template-parm1.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.dg/concepts/template-parm1.C')
-rw-r--r--gcc/testsuite/g++.dg/concepts/template-parm1.C35
1 files changed, 0 insertions, 35 deletions
diff --git a/gcc/testsuite/g++.dg/concepts/template-parm1.C b/gcc/testsuite/g++.dg/concepts/template-parm1.C
deleted file mode 100644
index 192226f6ae2..00000000000
--- a/gcc/testsuite/g++.dg/concepts/template-parm1.C
+++ /dev/null
@@ -1,35 +0,0 @@
-// { dg-do compile { target c++17 } }
-// { dg-options "-fconcepts" }
-
-template<typename T>
- concept bool C1 = __is_same_as(T, int);
-
-template<int N>
- concept bool C2 = N == 0;
-
-template<template<typename> class X>
- concept bool C3 = true;
-
-template<typename> struct Foo;
-
-// Type template parameters
-template<C1 T = int> struct S1 { };
-template<C1 = int> struct S2;
-template<C1 T> struct S2 { };
-
-// Non-type template parameters
-template<C2 N = 0> struct S3 { };
-template<C2 = 0> struct S4;
-template<C2 N> struct S4 { };
-
-// Template template parameters
-template<C3 X = Foo> struct S5 { };
-template<C3 = Foo> struct S6;
-template<C3 X> struct S6 { };
-
-S1<> s1;
-S2<> s2;
-S3<> s3;
-S4<> s4;
-S5<> s5;
-S6<> s6;