aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/c23-builtins-1.c
blob: 39f0ea4bf593ce4de172729343d753228afe0963 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* Test C23 built-in functions: test functions new in C23 are indeed
   declared as built-in as expected.  Non-DFP tests.  */
/* { dg-do compile } */
/* { dg-options "-std=c23" } */

int exp10 (void); /* { dg-warning "conflicting types for built-in function" } */
int exp10f (void); /* { dg-warning "conflicting types for built-in function" } */
int exp10l (void); /* { dg-warning "conflicting types for built-in function" } */
int roundeven (void); /* { dg-warning "conflicting types for built-in function" } */
int roundevenf (void); /* { dg-warning "conflicting types for built-in function" } */
int roundevenl (void); /* { dg-warning "conflicting types for built-in function" } */
int strdup (void); /* { dg-warning "conflicting types for built-in function" } */
int strndup (void); /* { dg-warning "conflicting types for built-in function" } */