anonymous-union-member-initializer.cpp revision a5728872c7702ddd09537c95bc3cbd20e1f2fb09
1// RUN: %clang_cc1 -emit-llvm -o - %s
2
3struct A {
4  union {
5    int a;
6    void* b;
7  };
8
9  A() : a(0) { }
10};
11
12A a;
13