External links
Category:3D graphics software
Category:Video game development software
Category:Video game development software for Linux// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
// FIXME: error messages are being suppressed.
template
void foo(T t, U u) { }
// expected-error@+1 {{cannot be overloaded}}
template
void foo(T t, T t) { }
template
void foo(T) { }
// expected-error@+1 {{expected template arguments}}
template
void foo(T);
// expected-error@+1 {{cannot be overloaded}}
template
void foo(T t) { }
// expected-error@+1 {{cannot be overloaded}}
template
void foo(T t) { }
// expected-error@+1 {{cannot be overloaded}}
template
void foo(T t, T) { }
// expected-error@+1 {{cannot be overloaded}}
template
void foo(T t, T t) { }
// expected-error@+1 {{cannot be overloaded}}
template
void foo(T t, T t, T t) { }
// expected-error@+1 {{cannot be overloaded}}
template
void foo(T t, T t, T t) { }
// expected-error@+1 {{cannot be overloaded}}
template
void foo(T t, T t, T t, T t) { }
// expected-error@+1 {{cannot be overloaded}}
template
void foo(T t, T t, T t, T t) { }
// expected-error@+1 {{cannot be overloaded}}
template
void foo(T t, T t, T t, T t, be359ba680
Related links:
Comentários