blob: 71b3cc876d87d14e46afff208242f4e4df649043 [file] [log] [blame]
Chris Lattner584902e2004-09-28 02:29:40 +00001
2
3struct Pass {} ;
4template<typename PassName>
5Pass *callDefaultCtor() { return new PassName(); }
6
7void foo(Pass *(*C)());
8
9#include <bits/c++config.h>
10#include <bits/stringfwd.h>
11#include <bits/char_traits.h>
12#include <memory> // For allocator.
13#include <bits/basic_string.h>
14
15bool foo(std::string &X) {
16 return X.empty();
17}