[CMake] Kaleidoscope-Ch2: Don't pass -Wno-unused-private-field unconditionally.
[oota-llvm.git] / test / Feature / optnone.ll
1 ; RUN: llvm-as < %s | llvm-dis | FileCheck %s
2 ; REQUIRE: native
3
4 ; Check for the presence of attribute optnone in the disassembly.
5
6 ; CHECK: @foo() #0
7 define void @foo() #0 {
8   ret void
9 }
10
11 ; CHECK: attributes #0 = { noinline optnone }
12 attributes #0 = { optnone noinline }
13