Searched refs:friend3 (Results 1 - 3 of 3) sorted by relevance

/external/clang/test/CodeGenCXX/
H A Ddllimport.cpp277 // MSC-DAG: define void @"\01?friend3@@YAXXZ"()
282 friend __declspec(dllimport) void friend3();
286 void friend3() {} // dllimport ignored function
289 USE(friend3)
/external/clang/test/SemaCXX/
H A Ddllexport.cpp198 friend void friend3(); // expected-note{{previous declaration is here}}
203 __declspec(dllexport) void friend3() {} // expected-error{{redeclaration of 'friend3' cannot add 'dllexport' attribute}} function
H A Ddllimport.cpp236 friend __declspec(dllimport) void friend3(); // expected-note{{previous declaration is here}} expected-note{{previous attribute is here}}
242 void friend3() {} // expected-warning{{'friend3' redeclared without 'dllimport' attribute: previous 'dllimport' ignored}} function

Completed in 118 milliseconds