1// RUN: %clang_cc1 -fsyntax-only %s -verify
2// expected-no-diagnostics
3
4struct S {
5 int one;
6 int two;
7};
8
9struct S const foo(void);
10
11
12struct S tmp;
13
14void priv_sock_init() {
15  tmp = (struct S)foo();
16}
17