Debian Codegraph @

clang/test/CodeGenCXX/member-init-union.cpp

raw
1 // RUN: %clang_cc1 %s -emit-llvm-only -verify
2 // expected-no-diagnostics
3
4 union x {
5 int a;
6 float b;
7 x(float y) : b(y) {}
8 x(int y) : a(y) {}
9 };
10 x a(1), b(1.0f);
11