view test/MC/Mips/reloc-directive-bad.s @ 111:3e4d254d74d9

resolve some warnings
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Tue, 02 Feb 2016 19:38:53 +0900
parents 7d135dc70f03
children c2174574ed3a
line wrap: on
line source

# RUN: not llvm-mc -triple mips-unknown-linux < %s -show-encoding -target-abi=o32 \
# RUN:     2>&1 | FileCheck %s
	.text
foo:
	.reloc 0, R_MIPS_32, .text+.text # CHECK: :[[@LINE]]:23: error: expression must be relocatable
	nop