1 // RUN: not %clang_cc1 -triple mips-none-linux-gnu -emit-llvm -w -o - %s 2> %t1
2 // RUN: FileCheck --check-prefix=O32 %s < %t1
3
4 // RUN: %clang_cc1 -triple mips64-none-linux-gnu -emit-llvm -w -target-abi n32 -o - %s | FileCheck --check-prefix=NEW %s
5 // RUN: %clang_cc1 -triple mips64-none-linux-gnu -emit-llvm -w -o - %s | FileCheck --check-prefix=NEW %s
6
7 // O32 does not support __int128 so it must be tested separately
8 // N32/N64 behave the same way so their tests have been combined into NEW
9
check_int128(void)10 int check_int128(void) {
11 return sizeof(__int128); // O32: :[[@LINE]]:17: error: __int128 is not supported on this target
12 // NEW: ret i32 16
13 }
14