[ASan] Fixed the wrong placement of #include
authorAlexander Potapenko <glider@google.com>
Thu, 14 Feb 2013 12:37:17 +0000 (12:37 +0000)
committerAlexander Potapenko <glider@google.com>
Thu, 14 Feb 2013 12:37:17 +0000 (12:37 +0000)
llvm-svn: 175157

compiler-rt/lib/asan/lit_tests/Darwin/reexec-insert-libraries-env.cc

index dc1d989..40a459f 100644 (file)
@@ -1,4 +1,3 @@
-#include <stdio.h>
 // Make sure ASan doesn't hang in an exec loop if DYLD_INSERT_LIBRARIES is set.
 // This is a regression test for
 // https://code.google.com/p/address-sanitizer/issues/detail?id=159
@@ -10,6 +9,7 @@
 // FIXME: the following command line may hang in the case of a regression.
 // RUN: DYLD_INSERT_LIBRARIES=darwin-dummy-shared-lib-so.dylib \
 // RUN:     %t 2>&1 | FileCheck %s || exit 1
+#include <stdio.h>
 #include <stdlib.h>
 
 int main() {