From 2f758cf8bafb527e9a709043d9704449a5f767b8 Mon Sep 17 00:00:00 2001 From: Nadav Rotem Date: Mon, 22 Oct 2012 18:16:55 +0000 Subject: [PATCH] Add a testcase for the previous commit. llvm-svn: 166425 --- llvm/test/Feature/forceoptsize_attr.ll | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 llvm/test/Feature/forceoptsize_attr.ll diff --git a/llvm/test/Feature/forceoptsize_attr.ll b/llvm/test/Feature/forceoptsize_attr.ll new file mode 100644 index 0000000..89f2a5f --- /dev/null +++ b/llvm/test/Feature/forceoptsize_attr.ll @@ -0,0 +1,7 @@ +; RUN: llvm-as < %s | llvm-dis | FileCheck %s + +define void @test1() forcesizeopt { +; CHECK: define void @test1() forcesizeopt + ret void +} + -- 2.7.4