]>
git.proxmox.com Git - rustc.git/blob - src/compiler-rt/test/asan/TestCases/Windows/global_const_string.cc
1 // RUN: %clang_cl_asan -O0 %s -Fe%t
2 // RUN: %run %t | FileCheck %s
8 static const char *foo
= "foobarspam";
9 printf("Global string is `%s`\n", foo
);
10 // CHECK: Global string is `foobarspam`