minix/external/bsd/llvm/dist/clang/test/SemaCXX/prefetch-enum.cpp

11 lines
161 B
C++
Raw Normal View History

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