Mercurial > hg > CbC > CbC_llvm
annotate test/MC/MachO/bad-darwin-x86_64-reloc-expr2.s @ 83:60c9769439b8 LLVM3.7
LLVM 3.7
author | Tatsuki IHA <e125716@ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 18 Feb 2015 14:55:36 +0900 |
parents | |
children |
rev | line source |
---|---|
83 | 1 // RUN: not llvm-mc -triple x86_64-apple-darwin10 %s -filetype=obj -o - 2> %t.err > %t |
2 // RUN: FileCheck --check-prefix=CHECK-ERROR < %t.err %s | |
3 | |
4 _Z: | |
5 .long (_a+4)-_Z | |
6 // CHECK-ERROR: error: unsupported relocation with subtraction expression, symbol '_a' can not be undefined in a subtraction expression |