Home | History | Annotate | Download | only in SemaCXX
      1 // RUN: %clang_cc1 -fsyntax-only -verify %s
      2 
      3 extern char test1[] __attribute__((used)); // expected-warning {{'used' attribute ignored}}
      4 extern const char test2[] __attribute__((used)); // expected-warning {{'used' attribute ignored}}
      5 extern const char test3[] __attribute__((used)) = "";
      6