summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/mips-inline-asm-abi.c
blob: 20c4f8d8be71fa368e781532f08b2f4ebca93083 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// REQUIRES: mips-registered-target
// RUN: %clang_cc1 -triple mips-linux-gnu -emit-obj -o - %s | \
// RUN:   llvm-readobj -h - | FileCheck %s

// CHECK: EF_MIPS_ABI_O32

__asm__(
"bar:\n"
"  nop\n"
);

void foo() {}