Add regression test for cvt nodes in ?: expression
This commit is contained in:
parent
fb6b32b11b
commit
0eba3d0e7c
|
@ -0,0 +1,13 @@
|
|||
/* CVT node handling in ?: operator */
|
||||
typedef unsigned long int size_t;
|
||||
struct filecore_direntry {
|
||||
unsigned len:32;
|
||||
};
|
||||
int
|
||||
main(void)
|
||||
{
|
||||
struct filecore_direntry dirent = { 0 };
|
||||
size_t uio_resid = 0;
|
||||
size_t bytelen = (((dirent.len)<(uio_resid))?(dirent.len):(uio_resid));
|
||||
return bytelen;
|
||||
}
|
Loading…
Reference in New Issue