blob: cb32e3b62181004d78c2488e5036967db14cb367 [file] [log] [blame]
Daniel Dunbare5280282009-06-03 16:16:27 +00001// RUN: clang -emit-llvm -S -o %t %s &&
Daniel Dunbar877db382009-06-02 22:07:45 +00002// RUN: grep '@f0' %t | count 0 &&
Daniel Dunbare5280282009-06-03 16:16:27 +00003// RUN: clang -mllvm -disable-llvm-optzns -emit-llvm -S -o %t %s &&
Daniel Dunbar877db382009-06-02 22:07:45 +00004// 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}