[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / InterfaceStubs / trycatch.cpp
blobacc96bfcadfb5a41ebc2a4b8ff7bfaf5cdb5e038
1 // REQUIRES: x86-registered-target
3 // RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -fcxx-exceptions -o - -emit-interface-stubs %s | FileCheck %s
5 // CHECK: --- !ifs-v1
6 // CHECK-NEXT: IfsVersion: 3.0
7 // CHECK-NEXT: Target: x86_64-unknown-linux-gnu
8 // CHECK-NEXT: Symbols:
9 // CHECK-NEXT: - { Name: "_Z1fv", Type: Func }
10 // CHECK-NEXT: ...
12 class C5 {};
13 void f() { try {} catch(C5&){} }