summaryrefslogtreecommitdiff
path: root/cross-project-tests/debuginfo-tests/clang_llvm_roundtrip/simplified_template_names.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cross-project-tests/debuginfo-tests/clang_llvm_roundtrip/simplified_template_names.cpp')
-rw-r--r--cross-project-tests/debuginfo-tests/clang_llvm_roundtrip/simplified_template_names.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/cross-project-tests/debuginfo-tests/clang_llvm_roundtrip/simplified_template_names.cpp b/cross-project-tests/debuginfo-tests/clang_llvm_roundtrip/simplified_template_names.cpp
index 9bc14f8ce657..b68d4e8c04b9 100644
--- a/cross-project-tests/debuginfo-tests/clang_llvm_roundtrip/simplified_template_names.cpp
+++ b/cross-project-tests/debuginfo-tests/clang_llvm_roundtrip/simplified_template_names.cpp
@@ -179,6 +179,10 @@ struct t12 {
t11<LocalEnum, LocalEnum1> v1;
};
+template<decltype(ns::AnonEnum1)>
+void f10() {
+}
+
int main() {
struct { } A;
auto L = []{};
@@ -327,6 +331,7 @@ int main() {
f1<decltype(fcc)>();
int fnrt() __attribute__((noreturn));
f1<decltype(fnrt)>();
+ f10<ns::AnonEnum1>();
}
void t8::mem() {
struct t7 { };