diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2014-11-24 09:15:30 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2014-11-24 09:15:30 +0000 |
| commit | 9f4dbff6669c8037f3b036bcf580d14f1a4f12a5 (patch) | |
| tree | 47df2c12b57214af6c31e47404b005675b8b7ffc /test/CodeGen/inline2.c | |
| parent | f73d5f23a889b93d89ddef61ac0995df40286bb8 (diff) | |
Notes
Diffstat (limited to 'test/CodeGen/inline2.c')
| -rw-r--r-- | test/CodeGen/inline2.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/test/CodeGen/inline2.c b/test/CodeGen/inline2.c index 670ae201f9ba..84cd4db02774 100644 --- a/test/CodeGen/inline2.c +++ b/test/CodeGen/inline2.c @@ -39,6 +39,9 @@ extern int f7(void) { return 0; } // CHECK-GNU89-LABEL: define i32 @fA() inline int fA(void) { return 0; } +// CHECK-GNU89-LABEL: define i32 @fB() +inline int fB() { return 0; } + // CHECK-GNU89-LABEL: define available_externally i32 @f4() // CHECK-C99-LABEL: define i32 @f4() int f4(void); @@ -56,7 +59,11 @@ extern inline int f9(void) { return 0; } // CHECK-C99-LABEL: define available_externally i32 @fA() +// CHECK-C99-LABEL: define i32 @fB() + int test_all() { return f0() + f1() + f2() + f3() + f4() + f5() + f6() + f7() + f8() + f9() - + fA(); + + fA() + fB(); } + +int fB(void); |
