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/CodeGenCXX/copy-constructor-elim.cpp | |
| parent | f73d5f23a889b93d89ddef61ac0995df40286bb8 (diff) | |
Notes
Diffstat (limited to 'test/CodeGenCXX/copy-constructor-elim.cpp')
| -rw-r--r-- | test/CodeGenCXX/copy-constructor-elim.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/test/CodeGenCXX/copy-constructor-elim.cpp b/test/CodeGenCXX/copy-constructor-elim.cpp index ad3a87b9d5f8..8e9bee973771 100644 --- a/test/CodeGenCXX/copy-constructor-elim.cpp +++ b/test/CodeGenCXX/copy-constructor-elim.cpp @@ -1,6 +1,9 @@ -// RUN: %clang_cc1 -emit-llvm -o %t %s -// RUN: not grep "_ZN1CC1ERK1C" %t -// RUN: not grep "_ZN1SC1ERK1S" %t +// RUN: %clang_cc1 -triple %itanium_abi_triple -emit-llvm -o - %s | FileCheck %s -check-prefix=CHECK +// RUN: %clang_cc1 -triple %ms_abi_triple -emit-llvm -o - %s | FileCheck %s -check-prefix MS +// CHECK-NOT: _ZN1CC1ERK1C +// CHECK-NOT: _ZN1SC1ERK1S +// MS-NOT: ?0C@@QAE@ABV0 +// MS-NOT: ?0S@@QAE@ABV0 extern "C" int printf(...); |
