llvm-capstone/clang/test/Parser/encode.m
2007-10-04 20:19:06 +00:00

9 lines
145 B
Objective-C

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