aboutsummaryrefslogtreecommitdiff
path: root/test/FixIt/fixit.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2012-06-19 21:19:06 +0000
committerDavid Blaikie <dblaikie@gmail.com>2012-06-19 21:19:06 +0000
commitb26331b4ff419b22861b0823daf83bc8f22a6803 (patch)
treec867fc2c57c8172837cd8d0106c3c7f6ce6f56f5 /test/FixIt/fixit.cpp
parent7ba759237afee52f4d53ed1fe07dbfdcfdbabdc6 (diff)
Enable -Wnull-conversion for non-integral target types (eg: double).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158744 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/FixIt/fixit.cpp')
-rw-r--r--test/FixIt/fixit.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/FixIt/fixit.cpp b/test/FixIt/fixit.cpp
index 68ede1e43b..3eac434a36 100644
--- a/test/FixIt/fixit.cpp
+++ b/test/FixIt/fixit.cpp
@@ -219,6 +219,7 @@ void Foo::SetBar(Bar bar) { bar_ = bar; } // expected-error {{must use 'enum' ta
#define NULL __null
char c = NULL; // expected-warning {{implicit conversion of NULL constant to 'char'}}
+double dbl = NULL; // expected-warning {{implicit conversion of NULL constant to 'double'}}
namespace arrow_suggest {