aboutsummaryrefslogtreecommitdiff
blob: 65f52cc29a6d7b71540f95fe7c5d63aaeef425c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# RUN: not llvm-mc -triple=x86_64 %s -o /dev/null 2>&1 | FileCheck %s --implicit-check-not=error:

foo:
.section .foo,"ax",@progbits

# CHECK: {{.*}}.s:[[# @LINE+1]]:1: error: changed section flags for .foo, expected: 0x6
.section .foo,"awx",@progbits

# CHECK: {{.*}}.s:[[# @LINE+1]]:1: error: changed section flags for .foo, expected: 0x6
.pushsection .foo,"a",@progbits

.pushsection .foo,"ax",@progbits