summaryrefslogtreecommitdiff
path: root/test/asan/TestCases/non-executable-pc.cpp
diff options
context:
space:
mode:
authorFilipe Cabecinhas <me@filcab.net>2017-02-28 02:05:53 +0000
committerFilipe Cabecinhas <me@filcab.net>2017-02-28 02:05:53 +0000
commitaf05d0d35579ab530616b2330344742fdbe32f13 (patch)
tree0421a329456d62c6f54577ba708b6088c1e7ca89 /test/asan/TestCases/non-executable-pc.cpp
parent8cabe1b34964a93394f0e35398cd410140729cde (diff)
[non-executable-pc.cpp] Try to fix clang-ppc64be buildbot.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@296424 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/asan/TestCases/non-executable-pc.cpp')
-rw-r--r--test/asan/TestCases/non-executable-pc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/asan/TestCases/non-executable-pc.cpp b/test/asan/TestCases/non-executable-pc.cpp
index 0c2751780..831f44dac 100644
--- a/test/asan/TestCases/non-executable-pc.cpp
+++ b/test/asan/TestCases/non-executable-pc.cpp
@@ -3,10 +3,10 @@
// RUN: not %run %t n 2>&1 | FileCheck %s -check-prefix=CHECK -check-prefix=NON_EXEC
#include <assert.h>
-char array[42];
typedef void void_f();
int main(int argc, char **argv) {
+ char array[42];
void_f *func;
assert(argc > 1);
if (argv[1][0] == '0') {