[CMake] Add trailing newline to test source file to make sure -Wnewline-eof doesn't fire

llvm-svn: 203911
This commit is contained in:
Alexey Samsonov 2014-03-14 09:22:29 +00:00
parent 8ecd7a2171
commit 7a3d806c31
1 changed files with 1 additions and 1 deletions

View File

@ -173,7 +173,7 @@ endfunction()
# runtime libraries supported by our current compilers cross-compiling
# abilities.
set(SIMPLE_SOURCE ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/simple.c)
file(WRITE ${SIMPLE_SOURCE} "#include <stdlib.h>\nint main() {}")
file(WRITE ${SIMPLE_SOURCE} "#include <stdlib.h>\nint main() {}\n")
# test_target_arch(<arch> <target flags...>)
# Sets the target flags for a given architecture and determines if this