1# RUN: llvm-mc -arch=mips -mcpu=mips32 %s 2>&1 | FileCheck %s
2
3# We don't support the bopt option in the integrated assembler. Given it's
4# single pass nature, it would be quite difficult to implement currently.
5
6# Ensure we parse the bopt & nobopt directives and warn in the bopt case.
7
8# CHECK: warning: 'bopt' feature is unsupported
9# CHECK: nop
10.text
11f:
12.set bopt
13g:
14.set nobopt
15nop
16
17