You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
6 lines
289 B
6 lines
289 B
// RUN: %clang_cc1 -fsyntax-only -verify %s
|
|
|
|
extern char test1[] __attribute__((used)); // expected-warning {{'used' attribute ignored}}
|
|
extern const char test2[] __attribute__((used)); // expected-warning {{'used' attribute ignored}}
|
|
extern const char test3[] __attribute__((used)) = "";
|