Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / CodeGen / windows-itanium.c
blobad2e8a78e719aea6ebb6f751cdc3e1835881e4af
1 // RUN: %clang_cc1 -triple i686-windows-itanium -emit-llvm %s -o - \
2 // RUN: | FileCheck %s -check-prefix CHECK-C -check-prefix CHECK
4 // RUN: %clang_cc1 -triple i686-windows-itanium -emit-llvm -x c++ %s -o - \
5 // RUN: | FileCheck %s -check-prefix CHECK-CXX -check-prefix CHECK
7 int function(void) {
8 return 32;
11 // CHECK-C: define dso_local i32 @function() {{.*}} {
12 // CHECK-CXX: define dso_local noundef i32 @_Z8functionv() {{.*}} {
13 // CHECK: ret i32 32
14 // CHECK: }