commit | ac014be617010f3fe5c7d7a4cd4911b71aee83f9 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Sat Apr 18 06:38:24 2009 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Sat Apr 18 06:38:24 2009 +0000 |
tree | 333b309ac61b741249a7442f3a973a07fa643e9c | |
parent | e01ad449597f9ae32fda68a1991ed1fd0bece9e3 [diff] [blame] |
second half of PR3940: #line requires simple digit sequence. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69422 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Preprocessor/line-directive.c b/test/Preprocessor/line-directive.c index 8877406..98f92f1 100644 --- a/test/Preprocessor/line-directive.c +++ b/test/Preprocessor/line-directive.c
@@ -70,3 +70,6 @@ // PR3940 #line 0xf // expected-warning {{#line directive requires decimal line number}} +#line 42U // expected-warning {{#line directive requires a simple digit sequence}} + +