aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGenCXX/key-function-vtable.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGenCXX/key-function-vtable.cpp')
-rw-r--r--test/CodeGenCXX/key-function-vtable.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/CodeGenCXX/key-function-vtable.cpp b/test/CodeGenCXX/key-function-vtable.cpp
index 8378bbd234..8e474bdf95 100644
--- a/test/CodeGenCXX/key-function-vtable.cpp
+++ b/test/CodeGenCXX/key-function-vtable.cpp
@@ -30,6 +30,7 @@ void testf::a() {}
namespace {
struct testg { virtual void a(); };
}
+void testg::a() {}
testg *testgvar = new testg;
struct X0 { virtual ~X0(); };