commit | 2157eec760a75795dc794e4a6057328fa3799a75 | [log] [tgz] |
---|---|---|
author | Anders Carlsson <andersca@mac.com> | Thu Feb 19 19:22:11 2009 +0000 |
committer | Anders Carlsson <andersca@mac.com> | Thu Feb 19 19:22:11 2009 +0000 |
tree | 9c426c357db09e256e8ee32c2a03fcaf4cca65ee | |
parent | eb12e78ddbe63baed47cb92fb281d6d1aa689b1c [diff] [blame] |
Add irgen support for the noinline attribute. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65056 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/CodeGen/attr-noinline.c b/test/CodeGen/attr-noinline.c new file mode 100644 index 0000000..5aacf64 --- /dev/null +++ b/test/CodeGen/attr-noinline.c
@@ -0,0 +1,9 @@ +// RUN: clang -g -emit-llvm -o %t %s && +// RUN: grep 'noinline' %t + +void t1() __attribute__((noinline)); + +void t1() +{ +} +