Home | History | Annotate | Download | only in Sema
      1 //RUN: %clang_cc1 -fsyntax-only -verify %s
      2 
      3 char * c;
      4 char const ** c2 = &c; // expected-warning {{discards qualifiers in nested pointer types}}
      5 
      6 typedef char dchar;
      7 dchar *** c3 = &c2; // expected-warning {{discards qualifiers in nested pointer types}}
      8 
      9 volatile char * c4;
     10 char ** c5 = &c4; // expected-warning {{discards qualifiers in nested pointer types}}
     11