mirror of
https://github.com/Gericom/teak-llvm.git
synced 2025-06-22 13:05:52 -04:00
9 lines
197 B
C
9 lines
197 B
C
// 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};
|
|
}
|