freebsd-nq/test/CodeGenCXX/template-anonymous-union-member-initializer.cpp
2010-01-01 10:34:51 +00:00

11 lines
130 B
C++

// RUN: %clang_cc1 -emit-llvm -o %t %s
template <typename T>
class A
{
union { void *d; };
A() : d(0) { }
};
A<int> a0;