Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
1c98d627e5f0b79365d4e64cd4c6795ebed895f3
/
.
/
test
/
SemaCXX
/
MicrosoftCompatibility.cpp
blob: fa4ed3ebefff34277ec618c74f3eafde33e27ec3 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 %s -triple i686-pc-win32 -fsyntax-only -Wmicrosoft -verify -fms-compatibility
namespace
ms_conversion_rules
{
void
f
(
float
a
);
void
f
(
int
a
);
void
test
()
{
long
a
=
0
;
f
((
long
)
0
);
f
(
a
);
}
}