From 34d02d0b37f16015f317a935c48ce8b7b64ae77b Mon Sep 17 00:00:00 2001 From: Roman Divacky Date: Tue, 15 Dec 2009 18:49:47 +0000 Subject: Update clang to 91430. --- test/CodeGenCXX/virt-thunk-reference.cpp | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 test/CodeGenCXX/virt-thunk-reference.cpp (limited to 'test/CodeGenCXX/virt-thunk-reference.cpp') diff --git a/test/CodeGenCXX/virt-thunk-reference.cpp b/test/CodeGenCXX/virt-thunk-reference.cpp new file mode 100644 index 000000000000..4b361cfc3d2c --- /dev/null +++ b/test/CodeGenCXX/virt-thunk-reference.cpp @@ -0,0 +1,7 @@ +// RUN: clang-cc -emit-llvm-only %s + +struct A { int a; virtual void aa(int&); }; +struct B { int b; virtual void bb(int&); }; +struct C : A,B { virtual void aa(int&), bb(int&); }; +void C::aa(int&) {} +void C::bb(int&) {} -- cgit v1.3