blob: 00544996e3c1ac65cfdf09ce29b963e6b8b4a351 [file] [log] [blame]
// RUN: %clang_cc1 -fsyntax-only -verify %s
// RUN: %clang_cc1 -fsyntax-only -verify -x c++ %s
// expected-no-diagnostics
int main() {
char *s;
s = (char []){"whatever"};
s = (char(*)){s};
}