From ecb7e5c8afe929ee38155db94de6b084ec32a645 Mon Sep 17 00:00:00 2001 From: Roman Divacky Date: Tue, 16 Feb 2010 09:31:36 +0000 Subject: Update clang to r96341. --- test/CodeGenCXX/virtual-bases.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'test/CodeGenCXX/virtual-bases.cpp') diff --git a/test/CodeGenCXX/virtual-bases.cpp b/test/CodeGenCXX/virtual-bases.cpp index 1eaef3fa3af4..200f21a5da72 100644 --- a/test/CodeGenCXX/virtual-bases.cpp +++ b/test/CodeGenCXX/virtual-bases.cpp @@ -15,3 +15,11 @@ struct B : virtual A { // CHECK: define void @_ZN1BC1Ev(%struct.B* %this) // CHECK: define void @_ZN1BC2Ev(%struct.B* %this, i8** %vtt) B::B() { } + +struct C : virtual A { + C(bool); +}; + +// CHECK: define void @_ZN1CC1Eb(%struct.B* %this, i1 zeroext) +// CHECK: define void @_ZN1CC2Eb(%struct.B* %this, i8** %vtt, i1 zeroext) +C::C(bool) { } -- cgit v1.3