eof-string.c revision 6d926ae667cca926e77ddce1734514911706ed0a
1// RUN: %clang_cc1 %s -verify -fsyntax-only 2// vim: set binary noeol: 3 4// This file intentionally ends without a \n on the last line. Make sure your 5// editor doesn't add one. 6 7// expected-warning@+1{{missing terminating '"' character}} expected-error@+1{{expected expression}} expected-error@+1{{expected ';'}} 8char c = "\