summaryrefslogtreecommitdiff
path: root/clang/test/SemaCXX/prefetch-enum.cpp
blob: 3c77dae70ff5dd4ae0a17dbdada0f6cf84fad446 (about) (plain)
1
2
3
4
5
6
7
8
9
// RUN: %clang_cc1 -fsyntax-only %s -verify
// PR5679

enum X { A = 3 };

void Test() {
  char ch;
  __builtin_prefetch(&ch, 0, A);
}