1ef8225444452a1486bd721f3285301fe84643b00Stephen Hines// RUN: %clang_cc1 -triple i686-windows-itanium -emit-llvm %s -o - \ 2ef8225444452a1486bd721f3285301fe84643b00Stephen Hines// RUN: | FileCheck %s -check-prefix CHECK-C -check-prefix CHECK 3ef8225444452a1486bd721f3285301fe84643b00Stephen Hines 4ef8225444452a1486bd721f3285301fe84643b00Stephen Hines// RUN: %clang_cc1 -triple i686-windows-itanium -emit-llvm -x c++ %s -o - \ 5ef8225444452a1486bd721f3285301fe84643b00Stephen Hines// RUN: | FileCheck %s -check-prefix CHECK-CXX -check-prefix CHECK 6ef8225444452a1486bd721f3285301fe84643b00Stephen Hines 7ef8225444452a1486bd721f3285301fe84643b00Stephen Hinesint function() { 8ef8225444452a1486bd721f3285301fe84643b00Stephen Hines return 32; 9ef8225444452a1486bd721f3285301fe84643b00Stephen Hines} 10ef8225444452a1486bd721f3285301fe84643b00Stephen Hines 11ef8225444452a1486bd721f3285301fe84643b00Stephen Hines// CHECK-C: define i32 @function() {{.*}} { 12ef8225444452a1486bd721f3285301fe84643b00Stephen Hines// CHECK-CXX: define i32 @_Z8functionv() {{.*}} { 13ef8225444452a1486bd721f3285301fe84643b00Stephen Hines// CHECK: ret i32 32 14ef8225444452a1486bd721f3285301fe84643b00Stephen Hines// CHECK: } 15ef8225444452a1486bd721f3285301fe84643b00Stephen Hines 16