diff options
Diffstat (limited to 'test/CXX/concepts-ts/expr')
-rw-r--r-- | test/CXX/concepts-ts/expr/expr.prim/expr.prim.id/p3.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/CXX/concepts-ts/expr/expr.prim/expr.prim.id/p3.cpp b/test/CXX/concepts-ts/expr/expr.prim/expr.prim.id/p3.cpp new file mode 100644 index 0000000000..16da146a96 --- /dev/null +++ b/test/CXX/concepts-ts/expr/expr.prim/expr.prim.id/p3.cpp @@ -0,0 +1,4 @@ +// RUN: %clang_cc1 -std=c++2a -fconcepts-ts -verify %s + +template<typename T> concept C = true; +static_assert(C<int>); // expected-error{{sorry, unimplemented concepts feature concept specialization used}} |