summaryrefslogtreecommitdiffstats
path: root/clang/test/Sema/crash-invalid-builtin.c
blob: 8f749f7b32bb591fe7aad74fb34286ae6e8953bc (plain)
1
2
3
4
// RUN: %clang_cc1 -triple=x86_64-apple-darwin -fsyntax-only -verify %s
// PR23086

__builtin_isinf(...); // expected-warning {{type specifier missing, defaults to 'int'}} expected-error {{ISO C requires a named parameter before '...'}} // expected-error {{cannot redeclare builtin function '__builtin_isinf'}} // expected-note {{'__builtin_isinf' is a builtin with type 'int ()'}}
OpenPOWER on IntegriCloud