Use %s, not explicit name.
[oota-llvm.git] / test / C++Frontend / 2003-08-28-ForwardType.cpp
1 // RUN: %llvmgxx -S %s -o - | llvm-as -f -o /dev/null
2
3 // Default placement versions of operator new.
4 inline void* operator new(unsigned, void* __p) throw();
5
6
7 template<typename _CharT>
8 struct stdio_filebuf
9 {  stdio_filebuf();
10
11 };
12
13 extern stdio_filebuf<char> buf_cout;
14
15 void foo() {
16   // Create stream buffers for the standard streams and use
17   // those buffers without destroying and recreating the
18   // streams.
19   new (&buf_cout) stdio_filebuf<char>();
20
21 }