~ubuntu-branches/ubuntu/quantal/llvm-3.1/quantal

« back to all changes in this revision

Viewing changes to test/MC/ELF/diff2.s

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2012-03-29 19:09:51 UTC
  • Revision ID: package-import@ubuntu.com-20120329190951-aq83ivog4cg8bxun
Tags: upstream-3.1~svn153643
ImportĀ upstreamĀ versionĀ 3.1~svn153643

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// RUN: not llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s 2> %t
 
2
// RUN: FileCheck -input-file %t %s
 
3
 
 
4
.global zed
 
5
        .data
 
6
foo:
 
7
        .text
 
8
        nop
 
9
bar:
 
10
        nop
 
11
zed:
 
12
// CHECK: expected relocatable expression
 
13
        mov zed+(bar-foo), %eax