llvm-project/clang/test/Lexer/newline-eof-c++11.cpp

4 lines
137 B
C++

// RUN: %clang_cc1 -fsyntax-only -std=c++11 -Wnewline-eof -verify %s
// The following line isn't terminated, don't fix it.
void foo() {}