llvm-project/clang/test/Parser/encode.m

9 lines
150 B
Objective-C

// RUN: %clang_cc1 -fsyntax-only -verify %s
int main(void) {
const char ch = @encode(char *)[0];
char c = @encode(char *)[0] + 4;
return c;
}