Changeset View
Changeset View
Standalone View
Standalone View
clang/test/CodeGenCXX/exceptions-seh-filter-captures.cpp
// RUN: %clang_cc1 -std=c++11 -fblocks -fms-extensions %s -triple=x86_64-windows-msvc -emit-llvm \ | // RUN: %clang_cc1 -std=c++11 -fblocks -fms-extensions %s -triple=x86_64-windows-msvc -emit-llvm \ | ||||
// RUN: -o - -mconstructor-aliases -fcxx-exceptions -fexceptions | \ | // RUN: -o - -mconstructor-aliases -fcxx-exceptions -fexceptions | \ | ||||
// RUN: FileCheck %s --check-prefix=CHECK --check-prefix=CXXEH | // FIXME: automatically inserted -allow-unused-prefixes=true. Is the behavior intended? | ||||
// RUN: FileCheck %s --allow-unused-prefixes=true -check-prefix=CHECK --check-prefix=CXXEH | |||||
extern "C" int basic_filter(int v, ...); | extern "C" int basic_filter(int v, ...); | ||||
extern "C" void might_crash(); | extern "C" void might_crash(); | ||||
extern "C" void test_freefunc(int p1) { | extern "C" void test_freefunc(int p1) { | ||||
int l1 = 13; | int l1 = 13; | ||||
static int s1 = 42; | static int s1 = 42; | ||||
__try { | __try { | ||||
▲ Show 20 Lines • Show All 72 Lines • Show Last 20 Lines |