]>
Commit | Line | Data |
---|---|---|
92a42be0 SL |
1 | // RUN: %clangxx_asan -coverage -O0 %s -o %t |
2 | // RUN: %env_asan_opts=check_initialization_order=1 %run %t 2>&1 | FileCheck %s | |
5bcae85e SL |
3 | // XFAIL: android |
4 | // We don't really support running tests using profile runtime on Windows. | |
5 | // UNSUPPORTED: win32 | |
92a42be0 SL |
6 | #include <stdio.h> |
7 | int foo() { return 1; } | |
8 | int XXX = foo(); | |
9 | int main() { | |
10 | printf("PASS\n"); | |
11 | // CHECK: PASS | |
12 | } |