brintos

brintos / llvm-project-archived public Read only

0
0
Text · 289 B · 05e5fa4 Raw
18 lines · c
1// RUN: %clang_cc1 -fsyntax-only %s -verify2// RUN: %clang_cc1 -fsyntax-only %s -fexperimental-new-constant-interpreter -verify3// expected-no-diagnostics4 5struct S {6 int one;7 int two;8};9 10struct S const foo(void);11 12 13struct S tmp;14 15void priv_sock_init(void) {16  tmp = (struct S)foo();17}18