Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/c2x-builtins-1.c @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | |
children |
line wrap: on
line source
/* 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" } */