Francois Pichet | 1c98d62 | 2011-09-18 21:37:37 +0000 | [diff] [blame^] | 1 | // RUN: %clang_cc1 %s -triple i686-pc-win32 -fsyntax-only -Wmicrosoft -verify -fms-compatibility |
2 | |||||
3 | |||||
4 | |||||
5 | namespace ms_conversion_rules { | ||||
6 | |||||
7 | void f(float a); | ||||
8 | void f(int a); | ||||
9 | |||||
10 | void test() | ||||
11 | { | ||||
12 | long a = 0; | ||||
13 | f((long)0); | ||||
14 | f(a); | ||||
15 | } | ||||
16 | |||||
17 | } | ||||
18 |