зеркало из https://github.com/microsoft/clang-1.git
Test for r141985.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@141998 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
b8e778da85
Коммит
84ef8990b8
|
@ -0,0 +1,10 @@
|
|||
// 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 {};
|
Загрузка…
Ссылка в новой задаче