From 554bcb69c2d785a011a30e7db87a36a87fe7db10 Mon Sep 17 00:00:00 2001 From: dim Date: Wed, 15 Aug 2012 20:02:54 +0000 Subject: Vendor import of clang trunk r161861: http://llvm.org/svn/llvm-project/cfe/trunk@161861 --- test/CodeGenCXX/debug-info-cxx0x.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'test/CodeGenCXX/debug-info-cxx0x.cpp') diff --git a/test/CodeGenCXX/debug-info-cxx0x.cpp b/test/CodeGenCXX/debug-info-cxx0x.cpp index 37ccdb0..9d30375 100644 --- a/test/CodeGenCXX/debug-info-cxx0x.cpp +++ b/test/CodeGenCXX/debug-info-cxx0x.cpp @@ -6,3 +6,13 @@ namespace PR9414 { return x; } } + +// Don't crash. +namespace PR13570 { + template struct P {}; + template struct A { + template static P isa(U); + decltype(isa(int())) f() {} + }; + template struct A; +} -- cgit v1.1