From 38d6f2e7f2ce51a5b3836d26596c6c34a3288752 Mon Sep 17 00:00:00 2001 From: dim Date: Thu, 21 May 2015 06:58:08 +0000 Subject: Vendor import of clang RELEASE_361/final tag r237755 (effectively, 3.6.1 release): https://llvm.org/svn/llvm-project/cfe/tags/RELEASE_361/final@237755 --- test/CodeGenCXX/trivial-constructor-init.cpp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'test/CodeGenCXX/trivial-constructor-init.cpp') diff --git a/test/CodeGenCXX/trivial-constructor-init.cpp b/test/CodeGenCXX/trivial-constructor-init.cpp index 9130e4e..da17799 100644 --- a/test/CodeGenCXX/trivial-constructor-init.cpp +++ b/test/CodeGenCXX/trivial-constructor-init.cpp @@ -32,3 +32,17 @@ static C c[4]; int main() { } + +namespace PR22793 { +template +struct foo { +protected: +// CHECK-NOT: _ZN7PR227933fooIiED2Ev + ~foo() = default; + friend void func(); +}; + +void func() { foo f; } + +template struct foo; +} -- cgit v1.1