repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[clang] Handle __declspec() attributes in using
[llvm-project.git]
/
clang
/
test
/
Sema
/
struct-cast.c
blob
74d00c42c295e039afac92a1f813322f775d2993
1
// RUN: %clang_cc1 -fsyntax-only %s -verify
2
// expected-no-diagnostics
3
4
struct
S
{
5
int
one
;
6
int
two
;
7
};
8
9
struct
S
const
foo
(
void
);
10
11
12
struct
S tmp
;
13
14
void
priv_sock_init
(
void
) {
15
tmp
= (
struct
S
)
foo
();
16
}