forked from OSchip/llvm-project
[ASan] Fixed the wrong placement of #include
llvm-svn: 175157
This commit is contained in:
parent
a5b58f9b3b
commit
594d99588b
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue