[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / SemaCXX / PR8884.cpp
blob4026465a25fd7828ec818e1aad966bdc555978f8
1 // RUN: %clang_cc1 -fsyntax-only %s
2 extern "C" {
3 class bar {
4 friend struct foo;
5 static struct foo& baz ();
6 };
7 struct foo {
8 void zed () {
9 bar::baz();