| 1 |
/* Test C23 built-in functions: test functions new in C23 are indeed |
| 2 |
declared as built-in as expected. Non-DFP tests. */ |
| 3 |
/* { dg-do compile } */ |
| 4 |
/* { dg-options "-std=c23" } */ |
| 5 |
|
| 6 |
int exp10 (void); /* { dg-warning "conflicting types for built-in function" } */ |
| 7 |
int exp10f (void); /* { dg-warning "conflicting types for built-in function" } */ |
| 8 |
int exp10l (void); /* { dg-warning "conflicting types for built-in function" } */ |
| 9 |
int roundeven (void); /* { dg-warning "conflicting types for built-in function" } */ |
| 10 |
int roundevenf (void); /* { dg-warning "conflicting types for built-in function" } */ |
| 11 |
int roundevenl (void); /* { dg-warning "conflicting types for built-in function" } */ |
| 12 |
int strdup (void); /* { dg-warning "conflicting types for built-in function" } */ |
| 13 |
int strndup (void); /* { dg-warning "conflicting types for built-in function" } */ |