xref: /aosp_15_r20/external/clang/test/CodeGenCXX/nonconst-init.cpp (revision 67e74705e28f6214e480b399dd47ea732279e315)
1 // RUN: %clang_cc1 -triple x86_64-unknown-unknown -emit-llvm -o - %s | FileCheck %s
2 
3 int a();
4 // CHECK: call i32 @_Z1av()
5 struct x {int x, y : 10;} x = {1, a()};
6