summaryrefslogtreecommitdiff
path: root/clang/test/FixIt/no-fixit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/FixIt/no-fixit.cpp')
-rw-r--r--clang/test/FixIt/no-fixit.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/clang/test/FixIt/no-fixit.cpp b/clang/test/FixIt/no-fixit.cpp
new file mode 100644
index 0000000..c95c867
--- /dev/null
+++ b/clang/test/FixIt/no-fixit.cpp
@@ -0,0 +1,7 @@
+// RUN: %clang_cc1 -fdiagnostics-parseable-fixits -x c++ -std=c++11 %s 2>&1 | FileCheck %s
+
+// test that the diagnostics produced by this code do not include fixit hints
+
+// CHECK-NOT: fix-it:
+
+template<template<typename> +> void func();