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