blob: 35980820389237a5cb13a870246087eb520ae69d [file] [log] [blame]
Richard Smith762bb9d2011-10-13 22:29:44 +00001// RUN: %clang_cc1 -std=c++11 -fsyntax-only -Wunused -verify %s
Douglas Gregor47268a32010-04-09 17:41:13 +00002
3static int foo(int x) { return x; }
4
5template<typename T>
6T get_from_foo(T y) { return foo(y); }
7
8int g(int z) { return get_from_foo(z); }
Argyrios Kyrtzidis48b89592011-03-03 17:47:42 +00009
10namespace { void f() = delete; }