You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
416 B
14 lines
416 B
4 months ago
|
// RUN: %clang_cc1 -emit-llvm -triple i386-pc-mingw32 %s -o - | FileCheck --check-prefix=MINGW %s
|
||
|
// RUN: %clang_cc1 -emit-llvm -triple i386-pc-cygwin %s -o - | FileCheck --check-prefix=CYGWIN %s
|
||
|
|
||
|
namespace test1 {
|
||
|
struct foo {
|
||
|
// MINGW: declare dso_local x86_thiscallcc void @_ZN5test13foo1fEv
|
||
|
// CYGWIN: declare dso_local void @_ZN5test13foo1fEv
|
||
|
void f();
|
||
|
};
|
||
|
void g(foo *x) {
|
||
|
x->f();
|
||
|
}
|
||
|
}
|