2 // BUILD: $CC main.cpp -lc++ -o $BUILD_DIR/weak-override-shared-cache.exe
4 // RUN: ./weak-override-shared-cache.exe
10 // Hack to get a strong definition of this symbol
12 void* hack
__asm("__ZTISt16nested_exception");
14 #include "test_support.h"
16 int main(int argc
, const char* argv
[], const char* envp
[], const char* apple
[]) {
18 throw new std
::nested_exception();
19 } catch (std
::nested_exception
* e
) {
22 FAIL("Expected exception to be thrown");