// RUN: %clang_cc1 -fsyntax-only -std=c++0x -Wc++98-compat -verify %s

template<typename ...T>  // expected-warning {{variadic templates are incompatible with C++98}}
class Variadic1 {};

template<template<typename> class ...T>  // expected-warning {{variadic templates are incompatible with C++98}}
class Variadic2 {};

template<int ...I>  // expected-warning {{variadic templates are incompatible with C++98}}
class Variadic3 {};

// RUN: %clang_cc1 -fsyntax-only -std=c++11 -Wc++98-compat -verify %s

template<typename ...T>  // expected-warning {{variadic templates are incompatible with C++98}}
class Variadic1 {};

template<template<typename> class ...T>  // expected-warning {{variadic templates are incompatible with C++98}}
class Variadic2 {};

template<int ...I>  // expected-warning {{variadic templates are incompatible with C++98}}
class Variadic3 {};

Convert newly-added test from -std=c++0x to -std=c++11.
Convert newly-added test from -std=c++0x to -std=c++11.


git-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@141904 91177308-0d34-0410-b5e6-96231b3b80d8
