YouCompleteMe/cpp/llvm/tools/clang/test/CodeGen/catch-undef-behavior.c

8 lines
122 B
C
Raw Normal View History

// RUN: %clang_cc1 -fcatch-undefined-behavior -emit-llvm-only %s
// PR6805
void foo() {
union { int i; } u;
u.i=1;
}