You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
355 B
25 lines
355 B
// Test with pch.
|
|
// RUN: %clang_cc1 -emit-pch -std=c++17 -o %t %s
|
|
// RUN: %clang_cc1 -include-pch %t -emit-llvm -std=c++17 -o - %s
|
|
|
|
#ifndef HEADER
|
|
#define HEADER
|
|
|
|
namespace RP47219 {
|
|
typedef int MyInt;
|
|
template <typename T>
|
|
class Some {
|
|
public:
|
|
explicit Some(T, MyInt) {}
|
|
};
|
|
|
|
struct Foo {};
|
|
void ParseNatural() {
|
|
Some(Foo(), 1);
|
|
}
|
|
}
|
|
|
|
#else
|
|
|
|
#endif
|