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/inline.c | |
| parent | f73d5f23a889b93d89ddef61ac0995df40286bb8 (diff) | |
Notes
Diffstat (limited to 'test/CodeGen/inline.c')
| -rw-r--r-- | test/CodeGen/inline.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/CodeGen/inline.c b/test/CodeGen/inline.c index 70ab696b64ee..96c9a86baecb 100644 --- a/test/CodeGen/inline.c +++ b/test/CodeGen/inline.c @@ -53,12 +53,13 @@ // RUN: echo "MS C Mode tests:" // RUN: %clang_cc1 %s -triple i386-unknown-unknown -O1 -disable-llvm-optzns -emit-llvm -o - -std=c99 -fms-compatibility | FileCheck %s --check-prefix=CHECK4 +// CHECK4-LABEL: define weak_odr i32 @ei() // CHECK4-LABEL: define i32 @bar() +// CHECK4-NOT: unreferenced1 +// CHECK4-LABEL: define weak_odr void @unreferenced2() // CHECK4-LABEL: define void @gnu_inline() // CHECK4-LABEL: define available_externally void @gnu_ei_inline() // CHECK4-LABEL: define linkonce_odr i32 @foo() -// CHECK4-NOT: unreferenced -// CHECK4-LABEL: define linkonce_odr i32 @ei() extern __inline int ei() { return 123; } |
