mirror of
https://github.com/Gericom/teak-llvm.git
synced 2025-06-24 05:55:43 -04:00

This makes LexCharConstant() look more like LexStringLiteral(), which doesn't have this bug. Add tests for eof after \ for several other cases. llvm-svn: 168269
8 lines
266 B
C
8 lines
266 B
C
// RUN: %clang_cc1 %s -verify -fsyntax-only
|
|
// vim: set binary noeol:
|
|
|
|
// This file intentionally ends without a \n on the last line. Make sure your
|
|
// editor doesn't add one.
|
|
|
|
// expected-error@+1{{expected expression}} expected-error@+1{{expected ';'}}
|
|
char c = \
|