V10/cmd/lcc/ph/m34005.c
/* The Plum Hall Validation Suite for C
* Unpublished copyright (c) 1986-1991, Chiron Systems Inc and Plum Hall Inc.
* VERSION: 4
* DATE: 1993-01-01
* The "ANSI" mode of this suite corresponds to official ANSI C, X3.159-1989.
* As per your license agreement, your distribution is not to be moved or copied outside the Designated Site
* without specific permission from Plum Hall Inc.
*/
/* 3.4 ConP2S1 CONSTRAINT-MANDATORY */
/* each constant expr shall fit its type */
#include <limits.h>
int main() {
int i = 0;
switch (i)
{
case LONG_MAX * 4 :
i = 1;
}
return 0; }