11c8346cebe574d07f94322de2e87739907f09c56Eric Christopher// RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s
21c8346cebe574d07f94322de2e87739907f09c56Eric Christopher
31c8346cebe574d07f94322de2e87739907f09c56Eric Christopher// CHECK-NOT: ZN12basic_stringIcEC1Ev
41c8346cebe574d07f94322de2e87739907f09c56Eric Christopher// CHECK: ZN12basic_stringIcED1Ev
51c8346cebe574d07f94322de2e87739907f09c56Eric Christopher// CHECK: ZN12basic_stringIcED1Ev
61c8346cebe574d07f94322de2e87739907f09c56Eric Christophertemplate<class charT>
71c8346cebe574d07f94322de2e87739907f09c56Eric Christopherclass basic_string
81c8346cebe574d07f94322de2e87739907f09c56Eric Christopher{
91c8346cebe574d07f94322de2e87739907f09c56Eric Christopherpublic:
101c8346cebe574d07f94322de2e87739907f09c56Eric Christopher	basic_string();
111c8346cebe574d07f94322de2e87739907f09c56Eric Christopher	~basic_string();
121c8346cebe574d07f94322de2e87739907f09c56Eric Christopher};
131c8346cebe574d07f94322de2e87739907f09c56Eric Christopher
141c8346cebe574d07f94322de2e87739907f09c56Eric Christophertemplate <class charT>
151c8346cebe574d07f94322de2e87739907f09c56Eric Christopher__attribute__ ((__visibility__("hidden"), __always_inline__)) inline
161c8346cebe574d07f94322de2e87739907f09c56Eric Christopherbasic_string<charT>::basic_string()
171c8346cebe574d07f94322de2e87739907f09c56Eric Christopher{
181c8346cebe574d07f94322de2e87739907f09c56Eric Christopher}
191c8346cebe574d07f94322de2e87739907f09c56Eric Christopher
201c8346cebe574d07f94322de2e87739907f09c56Eric Christophertemplate <class charT>
211c8346cebe574d07f94322de2e87739907f09c56Eric Christopherinline
221c8346cebe574d07f94322de2e87739907f09c56Eric Christopherbasic_string<charT>::~basic_string()
231c8346cebe574d07f94322de2e87739907f09c56Eric Christopher{
241c8346cebe574d07f94322de2e87739907f09c56Eric Christopher}
251c8346cebe574d07f94322de2e87739907f09c56Eric Christopher
261c8346cebe574d07f94322de2e87739907f09c56Eric Christophertypedef basic_string<char> string;
271c8346cebe574d07f94322de2e87739907f09c56Eric Christopher
281c8346cebe574d07f94322de2e87739907f09c56Eric Christopherextern template class basic_string<char>;
291c8346cebe574d07f94322de2e87739907f09c56Eric Christopher
301c8346cebe574d07f94322de2e87739907f09c56Eric Christopherint main()
311c8346cebe574d07f94322de2e87739907f09c56Eric Christopher{
321c8346cebe574d07f94322de2e87739907f09c56Eric Christopher	string s;
331c8346cebe574d07f94322de2e87739907f09c56Eric Christopher}
34