69342b2cd81f053b02edecf8ccd8cb3872e85630
[oota-llvm.git] / test / MC / ARM / directive-eabi_attribute-overwrite.s
1 @ RUN: llvm-mc -triple armv7-eabi -filetype obj -o - %s \
2 @ RUN:   | llvm-readobj -arm-attributes | FileCheck %s -check-prefix CHECK-ATTR
3
4         .syntax unified
5         .thumb
6 @ FIXME: The next directive is not correct, Tag_compatibility isn't getting parsed correctly.
7         .eabi_attribute Tag_compatibility, 1
8         .eabi_attribute Tag_compatibility, 1, "aeabi"
9
10 @ CHECK-ATTR: FileAttributes {
11 @ CHECK-ATTR:   Attribute {
12 @ CHECK-ATTR:     Value: 1, aeabi
13 @ CHECK-ATTR:     TagName: compatibility
14 @ CHECK-ATTR:     Description: AEABI Conformant
15 @ CHECK-ATTR:   }
16 @ CHECK-ATTR: }
17