| 12115 | enum Arch { Big, Little }; |
| 12116 | |
| 12117 | static Arch which() { |
| 12118 | union _{ |
| 12119 | int asInt; |
| 12120 | char asChar[sizeof (int)]; |
| 12121 | } u; |
| 12122 | |
| 12123 | u.asInt = 1; |
| 12124 | return ( u.asChar[sizeof(int)-1] == 1 ) ? Big : Little; |
| 12125 | } |
| 12126 | }; |
| 12127 | } |
| 12128 |
nothing calls this directly
no outgoing calls
no test coverage detected