summaryrefslogtreecommitdiffstats
path: root/test/Sema/MicrosoftCompatibility.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/Sema/MicrosoftCompatibility.cpp')
-rw-r--r--test/Sema/MicrosoftCompatibility.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Sema/MicrosoftCompatibility.cpp b/test/Sema/MicrosoftCompatibility.cpp
new file mode 100644
index 0000000..15c2558
--- /dev/null
+++ b/test/Sema/MicrosoftCompatibility.cpp
@@ -0,0 +1,4 @@
+// RUN: %clang_cc1 %s -fsyntax-only -Wno-unused-value -Wmicrosoft -verify -fms-compatibility
+
+// PR15845
+int foo(xxx); // expected-error{{unknown type name}}
OpenPOWER on IntegriCloud