summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra
diff options
context:
space:
mode:
authorAlexander Kornienko <alexfh@google.com>2014-11-13 13:09:16 +0000
committerAlexander Kornienko <alexfh@google.com>2014-11-13 13:09:16 +0000
commite553a93ba8c905c2120da920d3147f0df430bcf7 (patch)
tree4b5f7a2bf4cba81edc716f63613c9fd3bcdf4607 /clang-tools-extra
parent254b7dba27abf991a99df4c4cc12fa88d9b3905f (diff)
downloadbcm5719-llvm-e553a93ba8c905c2120da920d3147f0df430bcf7.tar.gz
bcm5719-llvm-e553a93ba8c905c2120da920d3147f0df430bcf7.zip
Regression test for the --serialize-diagnostics problem fixed in r221884.
llvm-svn: 221885
Diffstat (limited to 'clang-tools-extra')
-rw-r--r--clang-tools-extra/test/clang-tidy/serialize-diagnostics.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/clang-tools-extra/test/clang-tidy/serialize-diagnostics.cpp b/clang-tools-extra/test/clang-tidy/serialize-diagnostics.cpp
new file mode 100644
index 00000000000..541102e1d5b
--- /dev/null
+++ b/clang-tools-extra/test/clang-tidy/serialize-diagnostics.cpp
@@ -0,0 +1,3 @@
+// RUN: clang-tidy %s -- --serialize-diagnostics %t | FileCheck %s
+// CHECK: :[[@LINE+1]]:12: error: expected ';' after struct [clang-diagnostic-error]
+struct A {}
OpenPOWER on IntegriCloud