// RUN: %clang_cc1 -verify %s
void ;
void __asm__;
void ;
void
void __asm__; // expected-error{{cannot apply asm label to function after its first use}}
void __asm__; // expected-note{{previous declaration is here}}
void __asm__; // expected-error{{conflicting asm label}}
int x;
int x __asm__;
int y;
int
int y __asm__; // expected-error{{cannot apply asm label to variable after its first use}}
int z __asm__; // expected-note{{previous declaration is here}}
int z __asm__; // expected-error{{conflicting asm label}}
// No diagnostics on the following.
void ;
void ;
void