blob: ec1d7232b363d939c3656cce8d01cb0bb78b5149 [file] [log] [blame]
Andrea Di Biagio5768bb82013-08-23 11:53:55 +00001; RUN: llvm-as < %s | llvm-dis | FileCheck %s
2
3; Check for the presence of attribute noopt in the disassembly.
4
5; CHECK: @foo() #0
6define void @foo() #0 {
7 ret void
8}
9
10; CHECK: attributes #0 = { optnone }
11attributes #0 = { optnone }
12