summaryrefslogtreecommitdiffstats
path: root/test/CodeGenCXX/virt-template-vtable.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGenCXX/virt-template-vtable.cpp')
-rw-r--r--test/CodeGenCXX/virt-template-vtable.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/CodeGenCXX/virt-template-vtable.cpp b/test/CodeGenCXX/virt-template-vtable.cpp
index 76a1240..b968f38 100644
--- a/test/CodeGenCXX/virt-template-vtable.cpp
+++ b/test/CodeGenCXX/virt-template-vtable.cpp
@@ -1,6 +1,7 @@
// RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s
template<class T> class A {
+public:
A() {}
virtual void a() {}
};
OpenPOWER on IntegriCloud