blob: fbd16a9995e967e693fa0fae1db8cb2b38c71496 [file] [log] [blame]
// Bug: g++ fails to actually instantiate templates to the specifications of
// guiding decls.
// Special g++ Options: -g -ansi -pedantic-errors -fguiding-decls
template <class T> inline T min (T a, T b) { return a<b?a:b; }
double min (double, double);
int main () {
return (int) min (0, 1.0);
}