[X86] Move getGFNICtrlMask before CTLZ/CTTZ lowering. NFC.
[llvm-project.git] / clang / test / SemaCXX / attr-used.cpp
blob41d15eea8f527808b3591dbba1897084c8f116f6
1 // RUN: %clang_cc1 -fsyntax-only -verify %s
3 extern char test1[] __attribute__((used)); // expected-warning {{'used' attribute ignored on a non-definition declaration}}
4 extern const char test2[] __attribute__((used)); // expected-warning {{'used' attribute ignored on a non-definition declaration}}
5 extern const char test3[] __attribute__((used)) = "";