// RUN: %clang_cc1 -fsyntax-only -verify %s
void NO_SANITIZE_THREAD;
void ;
void ; // \
// expected-error {{'no_sanitize_thread' attribute takes no arguments}}
int NO_SANITIZE_THREAD;
int
int no_analyze_test_var NO_SANITIZE_THREAD; // \
// expected-error {{'no_sanitize_thread' attribute only applies to functions}}
;
;
void ; // \
// expected-error {{'no_sanitize_thread' attribute only applies to functions}}