brintos

brintos / llvm-project-archived public Read only

0
0
Text · 480 B · ad2e8a7 Raw
16 lines · c
1// RUN: %clang_cc1 -triple i686-windows-itanium -emit-llvm %s -o - \2// RUN:    | FileCheck %s -check-prefix CHECK-C -check-prefix CHECK3 4// RUN: %clang_cc1 -triple i686-windows-itanium -emit-llvm -x c++ %s -o - \5// RUN:    | FileCheck %s -check-prefix CHECK-CXX -check-prefix CHECK6 7int function(void) {8  return 32;9}10 11// CHECK-C: define dso_local i32 @function() {{.*}} {12// CHECK-CXX: define dso_local noundef i32 @_Z8functionv() {{.*}} {13// CHECK:   ret i32 3214// CHECK: }15 16