blob: e0cbc23f58112f7b216e732954302f520680ad34 [file] [log] [blame]
Douglas Gregor1f381062011-01-26 20:35:32 +00001// RUN: %clang_cc1 -std=c++98 -fsyntax-only -verify %s
2
3inline namespace N { // expected-warning{{inline namespaces are a C++0x feature}}
4struct 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