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

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