1// RUN: %clang_cc1 -fsyntax-only -verify %s
2// expected-no-diagnostics
3
4int main(void) {
5  const char ch = @encode(char *)[0];
6  char c = @encode(char *)[0] + 4;
7  return c;
8}
9
10