[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / Sema / struct-cast.c
blob74d00c42c295e039afac92a1f813322f775d2993
1 // RUN: %clang_cc1 -fsyntax-only %s -verify
2 // expected-no-diagnostics
4 struct S {
5 int one;
6 int two;
7 };
9 struct S const foo(void);
12 struct S tmp;
14 void priv_sock_init(void) {
15 tmp = (struct S)foo();