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