llvm-for-llvmta/tools/clang/test/SemaCXX/prefetch-enum.cpp

11 lines
161 B
C++
Raw Normal View History

2022-04-25 13:02:35 +02:00
// RUN: %clang_cc1 -fsyntax-only %s -verify
// expected-no-diagnostics
// PR5679
enum X { A = 3 };
void Test() {
char ch;
__builtin_prefetch(&ch, 0, A);
}