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

5 lines
164 B
C++

// 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() {}