1 // Test with pch. 2 // RUN: %clang_cc1 -emit-pch -std=c++17 -o %t %s 3 // RUN: %clang_cc1 -include-pch %t -emit-llvm -std=c++17 -o - %s 4 5 #ifndef HEADER 6 #define HEADER 7 8 namespace RP47219 { 9 typedef int MyInt; 10 template <typename T> 11 class Some { 12 public: Some(T,MyInt)13 explicit Some(T, MyInt) {} 14 }; 15 16 struct Foo {}; ParseNatural()17void ParseNatural() { 18 Some(Foo(), 1); 19 } 20 } 21 22 #else 23 24 #endif 25