]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/CodeGenCXX/anonymous-union-member-initializer.cpp
Update clang to r89337.
[FreeBSD/FreeBSD.git] / test / CodeGenCXX / anonymous-union-member-initializer.cpp
1 // RUN: clang-cc -emit-llvm -o - %s
2
3 struct A {
4   union {
5     int a;
6     void* b;
7   };
8   
9   A() : a(0) { }
10 };
11
12 A a;