1 // BUILD: clang -fsanitize=address a.cpp b.cpp -o IO-a 2 // BUILD: clang -fsanitize=address b.cpp a.cpp -o IO-b (noexpect) 3 4 // ASAN_OPTIONS=check_initialization_order=true IO-b 5 // CHECK: AddressSanitizer: initialization-order-fiasco 6 foo()7int foo() { return 42; } 8 int extern_global = foo();