[Flang] remove whole-archive option for AIX linker (#76039)
[llvm-project.git] / clang / test / CodeGenCXX / tmp-md-nodes2.cpp
blobe50220cfb7c37094a411e621c960a545530a0aac
1 // REQUIRES: asserts
2 // RUN: %clang_cc1 -O0 -triple %itanium_abi_triple -debug-info-kind=limited -S -emit-llvm %s -o - | \
3 // RUN: FileCheck %s
5 // This test simply checks that the varargs thunk is created. The failing test
6 // case asserts.
8 typedef signed char __int8_t;
9 typedef int BOOL;
10 class CMsgAgent;
12 class CFs {
13 public:
14 typedef enum {} CACHE_HINT;
15 virtual BOOL ReqCacheHint( CMsgAgent* p_ma, CACHE_HINT hint, ... ) ;
18 typedef struct {} _Lldiv_t;
20 class CBdVfs {
21 public:
22 virtual ~CBdVfs( ) {}
25 class CBdVfsImpl : public CBdVfs, public CFs {
26 BOOL ReqCacheHint( CMsgAgent* p_ma, CACHE_HINT hint, ... );
29 BOOL CBdVfsImpl::ReqCacheHint( CMsgAgent* p_ma, CACHE_HINT hint, ... ) {
30 return true;
33 // CHECK: define {{.*}} @_ZThn{{[48]}}_N10CBdVfsImpl12ReqCacheHintEP9CMsgAgentN3CFs10CACHE_HINTEz(