1 /*
2 TEST_OUTPUT:
3 ---
4 fail_compilation/fail20.d(16): Error: need member function opCmp() for struct FOO to compare
5 ---
6 */
7 
8 // ICE(cod3) DMD0.080
9 
10 struct FOO{}
11 
12 void main()
13 {
14     FOO one;
15     FOO two;
16     if (one < two){} // This should tell me that there
17                      // is no opCmp() defined instead
18                      // of crashing.
19 }
20