[DAGCombiner] Add target hook function to decide folding (mul (add x, c1), c2)
[llvm-project.git] / llvm / test / MC / ELF / section-flags-changed.s
blobd2964ef046d14db5cdc102907b43e63542ba6053
1 # RUN: not llvm-mc -triple=x86_64 %s -o /dev/null 2>&1 | FileCheck %s --implicit-check-not=error:
3 foo:
4 .section .foo,"ax",@progbits
6 # CHECK: {{.*}}.s:[[# @LINE+1]]:1: error: changed section flags for .foo, expected: 0x6
7 .section .foo,"awx",@progbits
9 # CHECK: {{.*}}.s:[[# @LINE+1]]:1: error: changed section flags for .foo, expected: 0x6
10 .pushsection .foo,"a",@progbits
12 # CHECK: {{.*}}.s:[[# @LINE+1]]:1: error: changed section flags for .foo, expected: 0x6
13 .section .foo,"",@progbits
15 .pushsection .foo,"ax",@progbits