|
|
1.1 ! root 1: /* The Plum Hall Validation Suite for C ! 2: * Unpublished copyright (c) 1986-1991, Chiron Systems Inc and Plum Hall Inc. ! 3: * VERSION: 4 ! 4: * DATE: 1993-01-01 ! 5: * The "ANSI" mode of this suite corresponds to official ANSI C, X3.159-1989. ! 6: * As per your license agreement, your distribution is not to be moved or copied outside the Designated Site ! 7: * without specific permission from Plum Hall Inc. ! 8: */ ! 9: ! 10: /* 3.3.2.3 ConP1S1 CONSTRAINT-MANDATORY */ ! 11: /* 1st opnd of . must have struct-or-union type */ ! 12: int main() { ! 13: #define a() 1 ! 14: #define dot() . ! 15: #define one() 1 ! 16: double x = a()dot()one(); /* tokens a and . and 1 remain distinct - see 2.1.1.2 phase 7 */ ! 17: return 0; }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.