summaryrefslogtreecommitdiffstats
path: root/test/Lexer/msdos-cpm-eof.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Lexer/msdos-cpm-eof.c')
-rw-r--r--test/Lexer/msdos-cpm-eof.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Lexer/msdos-cpm-eof.c b/test/Lexer/msdos-cpm-eof.c
index 3469b59..0b5150d 100644
--- a/test/Lexer/msdos-cpm-eof.c
+++ b/test/Lexer/msdos-cpm-eof.c
@@ -1,8 +1,8 @@
-// RUN: %clang_cc1 -fsyntax-only -verify -fms-extensions %s
-// expected-no-diagnostics
+// RUN: %clang_cc1 -fsyntax-only -verify -fms-extensions -Wmicrosoft %s
int x;
+// expected-warning@+1 {{treating Ctrl-Z as end-of-file is a Microsoft extension}}

I am random garbage after ^Z
OpenPOWER on IntegriCloud