[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git] / clang / test / CodeGenCXX / 2010-05-11-alwaysinlineinstantiation.cpp
blobbf00c0f36bfe56264a5b3ea2fa81a3fffd36ddd8
1 // RUN: %clang_cc1 -emit-llvm -triple %itanium_abi_triple %s -o - | FileCheck %s
3 // CHECK-NOT: ZN12basic_stringIcEC1Ev
4 // CHECK: ZN12basic_stringIcED1Ev
5 // CHECK: ZN12basic_stringIcED1Ev
6 template<class charT>
7 class basic_string
9 public:
10 basic_string();
11 ~basic_string();
14 template <class charT>
15 __attribute__ ((__visibility__("hidden"), __always_inline__)) inline
16 basic_string<charT>::basic_string()
20 template <class charT>
21 inline
22 basic_string<charT>::~basic_string()
26 typedef basic_string<char> string;
28 extern template class basic_string<char>;
30 int main()
32 string s;