diff options
Diffstat (limited to 'test/FixIt/fixit.cpp')
-rw-r--r-- | test/FixIt/fixit.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/FixIt/fixit.cpp b/test/FixIt/fixit.cpp index e9b4d75a6a..86a2dd4475 100644 --- a/test/FixIt/fixit.cpp +++ b/test/FixIt/fixit.cpp @@ -205,7 +205,6 @@ template<template<typename> Foo, // expected-error {{template template parameter template<typename> struct Baz> // expected-error {{template template parameter requires 'class' after the parameter list}} void func(); - namespace ShadowedTagType { class Foo { public: @@ -218,6 +217,9 @@ class Foo { void Foo::SetBar(Bar bar) { bar_ = bar; } // expected-error {{must use 'enum' tag to refer to type 'Bar' in this scope}} } +#define NULL __null +char c = NULL; // expected-warning {{implicit conversion of NULL constant to 'char'}} + namespace arrow_suggest { template <typename T> |