aboutsummaryrefslogtreecommitdiff
path: root/test/Lexer/newline-eof-c++11.cpp
blob: eeabe8bb9fc3de817f0fd0ce8d1f82072fae4097 (plain) (blame)
1
2
3
4
5
// RUN: %clang_cc1 -fsyntax-only -std=c++11 -Wnewline-eof -verify %s
// expected-no-diagnostics

// The following line isn't terminated, don't fix it.
void foo() {}