blob: 41a0159b0fc44f5ae273b782026e0257f3ab9010 [file] [log] [blame]
Wolfgang Pieba347c472017-10-31 22:49:48 +00001// REQUIRES: asserts
2// RUN: %clang_cc1 -O0 -triple %itanium_abi_triple -debug-info-kind=limited -S -emit-llvm %s -o - | \
3// RUN: FileCheck %s
4
5// This test simply checks that the varargs thunk is created. The failing test
6// case asserts.
7
8struct Alpha {
9 virtual void bravo(...);
10};
11struct Charlie {
12 virtual ~Charlie() {}
13};
14struct CharlieImpl : Charlie, Alpha {
15 void bravo(...) {}
16} delta;
17
Wolfgang Pieb173b47c2017-11-01 00:01:20 +000018// CHECK: define {{.*}} void @_ZThn{{[48]}}_N11CharlieImpl5bravoEz(