[Reland][Runtimes] Merge 'compile_commands.json' files from runtimes build (#116303)
[llvm-project.git] / clang / test / Sema / pointer-conversion.c
blob2d755ae42f3dd98699e3fb90d0232dcf4f24ee9d
1 //RUN: %clang_cc1 -fsyntax-only -verify %s
3 char * c;
4 char const ** c2 = &c; // expected-warning {{discards qualifiers in nested pointer types}}
6 typedef char dchar;
7 dchar *** c3 = &c2; // expected-warning {{discards qualifiers in nested pointer types}}
9 volatile char * c4;
10 char ** c5 = &c4; // expected-warning {{discards qualifiers in nested pointer types}}