especially C++ code, and generally expand the test coverage. Logic adapted from a patch by Kaelyn Uhrain <rikka@google.com> and another Googler. llvm-svn: 125775
9 lines
150 B
Objective-C
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;
|
|
}
|
|
|