X-Git-Url: https://git.saurik.com/apple/ld64.git/blobdiff_plain/2f2f92e40575142405a1caa9bcf847f7ad011c92..b1c6f52afb9f246c71bc8c8c57a268f11d0895e5:/unit-tests/test-cases/llvm-integration/a17.c diff --git a/unit-tests/test-cases/llvm-integration/a17.c b/unit-tests/test-cases/llvm-integration/a17.c old mode 100755 new mode 100644 index 3cd06fd..1b8d4bf --- a/unit-tests/test-cases/llvm-integration/a17.c +++ b/unit-tests/test-cases/llvm-integration/a17.c @@ -2,3 +2,11 @@ int a = 0; int func_a() { return a; } +// add code that will cause stack canary +extern void fill(char*); +void test() +{ + char buf[100]; + fill(buf); +} +