minix/external/bsd/llvm/dist/clang/test/Lexer/eof-char.c

8 lines
322 B
C
Raw Normal View History

// 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-warning@+1{{missing terminating ' character}} expected-error@+1{{expected expression}} expected-error@+1{{expected ';'}}
char c = '\