1# RUN: not llvm-mc -triple=x86_64 %s -o /dev/null 2>&1 | FileCheck %s --implicit-check-not=error:
2
3foo:
4.section .foo,"aM",@progbits,1
5
6# CHECK: {{.*}}.s:[[# @LINE+1]]:1: error: changed section entsize for .foo, expected: 1
7.section .foo,"aM",@progbits,4
8
9# CHECK: {{.*}}.s:[[# @LINE+1]]:1: error: changed section entsize for .foo, expected: 1
10.pushsection .foo,"aM",@progbits,4
11
12.pushsection .foo,"aM",@progbits,1
13