1// RUN: %clang_cc1 -triple i686-windows-itanium -emit-llvm %s -o - \
2// RUN:    | FileCheck %s -check-prefix CHECK-C -check-prefix CHECK
3
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
6
7int function() {
8  return 32;
9}
10
11// CHECK-C: define i32 @function() {{.*}} {
12// CHECK-CXX: define i32 @_Z8functionv() {{.*}} {
13// CHECK:   ret i32 32
14// CHECK: }
15
16