// RUN: %clang_cc1 -triple wasm32-unknown-unknown -fsyntax-only -verify %s
void ; //expected-error {{'import_name' attribute takes one argument}}
int name_b ; //expected-error {{'import_name' attribute only applies to functions}}
void ; //expected-error {{'import_name' attribute takes one argument}}
void ; //expected-error {{'import_name' attribute takes one argument}}
void ; //expected-note {{previous attribute is here}}
void ; //expected-warning {{import name (bar) does not match the import name (foo) of the previous declaration}}
void ; //expected-error {{'import_module' attribute takes one argument}}
int module_b ; //expected-error {{'import_module' attribute only applies to functions}}
void ; //expected-error {{'import_module' attribute takes one argument}}
void ; //expected-error {{'import_module' attribute takes one argument}}
void ; //expected-note {{previous attribute is here}}
void ; //expected-warning {{import module (bar) does not match the import module (foo) of the previous declaration}}
void ;