1 // RUN: %clang_cc1 -fsyntax-only -verify %s
17 SA x
; //Still needs handling.
29 void D::f(int) { f('c'); } // calls B::f(char)
30 void D::g(int) { g('c'); } // recursively calls D::g(int)
33 template <typename TYPE
> int funcE(TYPE arg
) { return(arg
); }
36 using E::funcE
<int>; // expected-error{{using declaration cannot refer to a template specialization}}
43 // Should have some errors here. Waiting for implementation.
48 namespace ShadowedTagNotes
{
54 void Bar(int); // expected-note{{class 'Bar' is hidden by a non-type declaration of 'Bar' here}}
58 const Bar
*x
; // expected-error{{must use 'class' tag to refer to type 'Bar' in this scope}}
61 } // namespace ShadowedTagNotes