Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/gcc.dg/pr33697.c @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
68:561a7518be6b | 111:04ced10e8804 |
---|---|
1 /* { dg-do compile } */ | |
2 | |
3 /* We used to ICE for this with type-checking enabled. */ | |
4 | |
5 typedef signed short gint16; | |
6 typedef unsigned short guint16; | |
7 gint16 dissect_old_pflog(gint16 rnr) | |
8 { | |
9 return (guint16) ((guint16) ((guint16)rnr >> 8) | (guint16) ((guint16)rnr << 8)); | |
10 } |