Fix test case from PR 39639. This time around, be portable.
This commit is contained in:
parent
e2a43ad977
commit
73c1f72053
7
regress/usr.bin/xlint/lint1/fail-test6.c
Normal file
7
regress/usr.bin/xlint/lint1/fail-test6.c
Normal file
@ -0,0 +1,7 @@
|
||||
/* PR 39639: writing "long double" gave "long int" */
|
||||
|
||||
int
|
||||
fail(long double *a, long int *b)
|
||||
{
|
||||
return a == b;
|
||||
}
|
@ -1,2 +0,0 @@
|
||||
/* PR 39639 */
|
||||
char a[sizeof(long double)] = {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15};
|
Loading…
Reference in New Issue
Block a user