llvm-for-llvmta/tools/clang/test/CodeGenCXX/enum.cpp

6 lines
141 B
C++
Raw Permalink Normal View History

2022-04-25 13:02:35 +02:00
// RUN: %clang_cc1 -emit-llvm-only -verify %s
// expected-no-diagnostics
enum A { a } __attribute((packed));
int func(A x) { return x==a; }