diff options
Diffstat (limited to 'test/Sema/overloadable-complex.c')
-rw-r--r-- | test/Sema/overloadable-complex.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Sema/overloadable-complex.c b/test/Sema/overloadable-complex.c index 770a972..efdeb8f 100644 --- a/test/Sema/overloadable-complex.c +++ b/test/Sema/overloadable-complex.c @@ -31,8 +31,8 @@ char *promote_or_convert(double _Complex) __attribute__((__overloadable__)); // int *promote_or_convert(long double _Complex) __attribute__((__overloadable__)); // expected-note 2 {{candidate function}} void test_promote_or_convert(float f, float _Complex fc) { - char *cp = promote_or_convert(fc); // expected-error{{call to 'promote_or_convert' is ambiguous; candidates are:}} - int *ip2 = promote_or_convert(f); // expected-error{{call to 'promote_or_convert' is ambiguous; candidates are:}} + char *cp = promote_or_convert(fc); // expected-error{{call to 'promote_or_convert' is ambiguous}} + int *ip2 = promote_or_convert(f); // expected-error{{call to 'promote_or_convert' is ambiguous}} } char *promote_or_convert2(float) __attribute__((__overloadable__)); |