1; RUN: llvm-c-test --calc <%s | FileCheck %s
2
3; constant folding
4test 100 200 +
5;CHECK: ModuleID = 'test'
6;CHECK: define i64 @test
7;CHECK: {
8;CHECK: ret i64 300
9;CHECK: }
10
11arg1 0 @ 0 @ * 1 @ 1 @ * +
12;CHECK: ModuleID = 'arg1'
13;CHECK: getelementptr
14;CHECK: load
15;CHECK: ret
16