summaryrefslogtreecommitdiffstats
path: root/test/CodeGenCXX/template-anonymous-union-member-initializer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGenCXX/template-anonymous-union-member-initializer.cpp')
-rw-r--r--test/CodeGenCXX/template-anonymous-union-member-initializer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/CodeGenCXX/template-anonymous-union-member-initializer.cpp b/test/CodeGenCXX/template-anonymous-union-member-initializer.cpp
index 921113a..41ae084 100644
--- a/test/CodeGenCXX/template-anonymous-union-member-initializer.cpp
+++ b/test/CodeGenCXX/template-anonymous-union-member-initializer.cpp
@@ -4,6 +4,7 @@ class A
{
union { void *d; };
+public:
A() : d(0) { }
};
OpenPOWER on IntegriCloud