view test/Feature/optnone.ll @ 107:a03ddd01be7e

resolve warnings
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Sun, 31 Jan 2016 17:34:49 +0900
parents 95c75e76d11b
children
line wrap: on
line source

; RUN: llvm-as < %s | llvm-dis | FileCheck %s

; Check for the presence of attribute optnone in the disassembly.

; CHECK: @foo() #0
define void @foo() #0 {
  ret void
}

; CHECK: attributes #0 = { noinline optnone }
attributes #0 = { optnone noinline }