blob: 5755ce965e33fe017af0fa6897c5bf5e25a5f2d8 [file] [log] [blame]
// RUN: %clang_cc1 -emit-pch -o %t %s
// RUN: %clang_cc1 -include-pch %t -fsyntax-only -verify %s
// expected-no-diagnostics
#ifndef HEADER
#define HEADER
template <class T, class U>
constexpr T BuiltinBitCastWrapper(const U &Arg) {
return __builtin_bit_cast(T, Arg);
}
#else
int main() {
return BuiltinBitCastWrapper<int>(0);
}
#endif