Home | History | Annotate | Download | only in Parser
      1 // RUN: %clang_cc1 -std=c++98 -fsyntax-only -verify %s
      2 
      3 inline namespace N { // expected-warning{{inline namespaces are a C++0x feature}}
      4 struct X {
      5   template<typename ...Args> // expected-warning{{variadic templates are a C++0x extension}}
      6   void f(Args &&...) &; // expected-warning{{rvalue references are a C++0x extension}} \
      7   // expected-warning{{reference qualifiers on functions are a C++0x extension}}
      8 };
      9 }
     10 
     11