1 // RUN: %clang_cc1 -fsyntax-only %s
3 template<typename T, int N>
5 const char *f0(bool Cond) {
6 return Cond? "honk" : N;
9 const char *f1(bool Cond) {
10 return Cond? N : "honk";
13 bool f2(const char *str) {
19 template<unsigned I> int f0() {
20 return __builtin_choose_expr(I, 0, 1);
26 template <typename T> void f(T *t)
28 (void)static_cast<void*>(static_cast<A*>(t));