From 461a67fa15370a9ec88f8f8a240bf7c123bb2029 Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Mon, 18 Dec 2017 20:11:37 +0000 Subject: Vendor import of clang trunk r321017: https://llvm.org/svn/llvm-project/cfe/trunk@321017 --- test/CodeGenCXX/debug-info-method.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test/CodeGenCXX/debug-info-method.cpp') diff --git a/test/CodeGenCXX/debug-info-method.cpp b/test/CodeGenCXX/debug-info-method.cpp index e0f9a284f2cfa..af7103e57528f 100644 --- a/test/CodeGenCXX/debug-info-method.cpp +++ b/test/CodeGenCXX/debug-info-method.cpp @@ -20,6 +20,7 @@ union { class A { protected: void foo(int, A, decltype(u)); + void bar(); }; void A::foo(int, A, decltype(u)) { @@ -29,3 +30,5 @@ A a; int A::*x = 0; int (A::*y)(int) = 0; + +void A::bar() { foo(0, *this, u); } -- cgit v1.2.3