blob: d159bd2233e42b99d9481a75c88c8c5c7a6036ab [file] [log] [blame]
Daniel Dunbar877db382009-06-02 22:07:45 +00001// RUN: clang-cc -emit-llvm -o %t %s &&
2// RUN: grep '@f0' %t | count 0 &&
3// RUN: clang-cc -disable-llvm-optzns -emit-llvm -o %t %s &&
4// RUN: grep '@f0' %t | count 2
5
6//static int f0() {
7static int __attribute__((always_inline)) f0() {
8 return 1;
9}
10
11int f1() {
12 return f0();
13}