llvm-for-llvmta/tools/clang/test/Parser/encode.m

10 lines
177 B
Mathematica
Raw Permalink Normal View History

2022-04-25 13:02:35 +02:00
// RUN: %clang_cc1 -fsyntax-only -verify %s
// expected-no-diagnostics
int main(void) {
const char ch = @encode(char *)[0];
char c = @encode(char *)[0] + 4;
return c;
}