aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/query/highlights/cpp/concepts.cpp22
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/query/highlights/cpp/concepts.cpp b/tests/query/highlights/cpp/concepts.cpp
new file mode 100644
index 000000000..07e2313ea
--- /dev/null
+++ b/tests/query/highlights/cpp/concepts.cpp
@@ -0,0 +1,22 @@
+
+template <class T, class U>
+concept Derived = std::is_base_of<U, T