Daniel Dunbar | a572887 | 2009-12-15 20:14:24 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -emit-llvm -o %t %s |
Anders Carlsson | f4b5f5c | 2009-09-02 19:17:55 +0000 | [diff] [blame] | 2 | template <typename T> |
3 | class A | ||||
4 | { | ||||
5 | union { void *d; }; | ||||
6 | |||||
John McCall | 7002f4c | 2010-04-09 19:03:51 +0000 | [diff] [blame] | 7 | public: |
Anders Carlsson | f4b5f5c | 2009-09-02 19:17:55 +0000 | [diff] [blame] | 8 | A() : d(0) { } |
9 | }; | ||||
10 | |||||
11 | A<int> a0; |