summaryrefslogtreecommitdiffstats
path: root/test/Parser/encode.m
blob: 1e088a01151147d7c4a45c1597522b1625878832 (plain)
1
2
3
4
5
6
7
8
// RUN: clang-cc -fsyntax-only -verify %s

int main(void) {
  const char ch = @encode(char *)[2];
  char c = @encode(char *)[2] + 4;
  return c;
}

OpenPOWER on IntegriCloud