1 // RUN: %clang_cc1 %s -triple i386-unknown-unknown -emit-llvm -o - | FileCheck %s
4 virtual int f() { return 1; }
8 virtual int f() { return 2; }
12 virtual int f() { return 3; }
16 virtual int f() { return 4; }
29 // Thunks should be marked as "linkonce ODR" not "weak".
31 // CHECK: define linkonce_odr noundef i32 @_ZThn{{[48]}}_N1D1fEv
32 // CHECK: define linkonce_odr noundef i32 @_ZThn{{[48]}}_N1C1fEv