2 // { dg-prune-output "note" }
3 // Makes bogus x86 assembly code.
6 // The VxWorks kernel-mode headers define a macro named "max", which is not
7 // ISO-compliant, but is part of the VxWorks API.
8 #if defined __vxworks && !defined __RTP__
17 return (a > b) ? a : b;
20 // Prototypes (enable one or the other)
21 double max<>(double, double); // { dg-error "" } bogus code
30 cout << max(d, i) << endl; // { dg-error "" }
31 cout << max(i, d) << endl; // { dg-error "" }