summaryrefslogtreecommitdiff
path: root/clang/test/Coverage/unresolved-ctor-expr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Coverage/unresolved-ctor-expr.cpp')
-rw-r--r--clang/test/Coverage/unresolved-ctor-expr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Coverage/unresolved-ctor-expr.cpp b/clang/test/Coverage/unresolved-ctor-expr.cpp
index 10286c79f569..2c57320949f7 100644
--- a/clang/test/Coverage/unresolved-ctor-expr.cpp
+++ b/clang/test/Coverage/unresolved-ctor-expr.cpp
@@ -4,7 +4,7 @@
// GH62105 demonstrated a crash with this example code when calculating
// coverage mapping because some source location information was being dropped.
// Demonstrate that we do not crash on this code.
-namespace std { template <typename> class initializer_list {}; }
+namespace std { template <typename E> class initializer_list { const E *a, *b; }; }
template <typename> struct T {
T(std::initializer_list<int>, int = int());