hanchenye-llvm-project/clang/test/CodeGenCXX/enum.cpp

5 lines
114 B
C++

// RUN: %clang_cc1 -emit-llvm-only -verify %s
enum A { a } __attribute((packed));
int func(A x) { return x==a; }