[AMDGPU][True16][CodeGen] true16 codegen pattern for v_med3_u/i16 (#121850)
[llvm-project.git] / clang / test / CodeGenCXX / tmp-md-nodes2.cpp
blobe5081884447bcfc0e651d5515dc5db9f4dd47909
1 // REQUIRES: asserts
2 // RUN: %clang_cc1 -O0 -triple %itanium_abi_triple -debug-info-kind=limited -emit-llvm %s -o - | \
3 // RUN: FileCheck %s
4 // RUN: %clang_cc1 -O0 -triple %itanium_abi_triple -debug-info-kind=limited -emit-llvm -mllvm --experimental-debuginfo-iterators=true %s -o - | \
5 // RUN: FileCheck %s
7 // This test simply checks that the varargs thunk is created. The failing test
8 // case asserts.
10 typedef signed char __int8_t;
11 typedef int BOOL;
12 class CMsgAgent;
14 class CFs {
15 public:
16 typedef enum {} CACHE_HINT;
17 virtual BOOL ReqCacheHint( CMsgAgent* p_ma, CACHE_HINT hint, ... ) ;
20 typedef struct {} _Lldiv_t;
22 class CBdVfs {
23 public:
24 virtual ~CBdVfs( ) {}
27 class CBdVfsImpl : public CBdVfs, public CFs {
28 BOOL ReqCacheHint( CMsgAgent* p_ma, CACHE_HINT hint, ... );
31 BOOL CBdVfsImpl::ReqCacheHint( CMsgAgent* p_ma, CACHE_HINT hint, ... ) {
32 return true;
35 // CHECK: define {{.*}} @_ZThn{{[48]}}_N10CBdVfsImpl12ReqCacheHintEP9CMsgAgentN3CFs10CACHE_HINTEz(