llvm-for-llvmta/tools/clang/test/Sema/eval-info.c

10 lines
237 B
C
Raw Permalink Normal View History

2022-04-25 13:02:35 +02:00
// RUN: %clang_cc1 %s -fsyntax-only -triple x86_64-unknown-windows-msvc -verify
// expected-no-diagnostics
// Make sure the new constant interpolator is not enabled unintentionally
// to cause assertion.
typedef enum x {
a = 1,
} x;