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

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" } */