blob: 41ae08470a3deaa040e7af0d3e14bd2402510c3e [file] [log] [blame]
Daniel Dunbara5728872009-12-15 20:14:24 +00001// RUN: %clang_cc1 -emit-llvm -o %t %s
Anders Carlssonf4b5f5c2009-09-02 19:17:55 +00002template <typename T>
3class A
4{
5 union { void *d; };
6
John McCall7002f4c2010-04-09 19:03:51 +00007public:
Anders Carlssonf4b5f5c2009-09-02 19:17:55 +00008 A() : d(0) { }
9};
10
11A<int> a0;