aboutsummaryrefslogtreecommitdiff
path: root/test/SemaCXX/prefetch-enum.cpp
blob: 5457bbe498fff742bc3bcbf2f183ceb45e5e296f (plain)
1
2
3
4
5
6
7
8
9
10
// RUN: %clang_cc1 -fsyntax-only %s -verify
// expected-no-diagnostics
// PR5679

enum X { A = 3 };

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