Simplify a test. No behavior change.
authorNico Weber <nicolasweber@gmx.de>
Tue, 13 Jan 2015 00:24:46 +0000 (00:24 +0000)
committerNico Weber <nicolasweber@gmx.de>
Tue, 13 Jan 2015 00:24:46 +0000 (00:24 +0000)
commitc4b8e79396014a41527dfc3ecc1c1a16ba2f946f
tree0b462d0639cd124e219493c647436947d32fb9d3
parentacf25766ad48266a82d6dec1f7ffd36728b4f8b5
Simplify a test. No behavior change.

Templates don't have key functions (cf computeKeyFunction() in
RecordLayoutBuilder.cpp), so don't have something that looks like one.

Also, instead of a vcall to force generation of the vtable, just construct
the object.  This is how the repro on PR5557 (what the test is for) worked too.

llvm-svn: 225741
clang/test/SemaTemplate/virtual-member-functions.cpp