You've already forked llvm-project
mirror of
https://github.com/encounter/llvm-project.git
synced 2026-03-30 11:27:19 -07:00
3ee1022f37
try to evaluate the initializer as a constant. llvm-svn: 108632
6 lines
162 B
C++
6 lines
162 B
C++
// RUN: %clang_cc1 -triple x86_64-unknown-unknown -emit-llvm -o - %s | FileCheck %s
|
|
|
|
int a();
|
|
// CHECK: call i32 @_Z1av()
|
|
struct x {int x, y : 10;} x = {1, a()};
|