1 // RUN: %clang_cc1 -fsyntax-only -verify %s
7 void g(int); // expected-note{{candidate function}}
15 (void)static_cast<int>(x
);
16 (void)reinterpret_cast<int>(x
);
17 (void)dynamic_cast<X
*>(&x
);
18 (void)const_cast<int>(x
);
20 h(x
); // h is a dependent name
21 g(1, 1); // expected-error{{no matching function for call}}
22 h(1); // expected-error{{use of undeclared identifier 'h'}}
26 // This one entered into an infinite loop.
27 template <unsigned long N
>