diff options
Diffstat (limited to 'test/CodeGenCXX/debug-info-method.cpp')
-rw-r--r-- | test/CodeGenCXX/debug-info-method.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
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); } |