13 lines · plain
1// RUN: not llvm-mc -filetype=obj -triple i686-pc-win32 %s -o /dev/null 2>&1 | FileCheck %s --check-prefixes=CHECK,I6862// RUN: not llvm-mc -filetype=obj -triple x86_64-pc-win32 %s -o /dev/null 2>&1 | FileCheck %s3 4 5// CHECK: [[@LINE+1]]:{{[0-9]+}}: error: Cannot represent this expression6 .byte foo - .7 8// CHECK: [[@LINE+1]]:{{[0-9]+}}: error: Cannot represent this expression9 .short foo - .10 11// I686: [[@LINE+1]]:{{[0-9]+}}: error: Cannot represent this expression12 .quad foo - .13