]>
git.proxmox.com Git - rustc.git/blob - src/llvm/tools/clang/test/SemaCXX/unused-functions.cpp
1 // RUN: %clang_cc1 -std=c++11 -fsyntax-only -Wunused -verify %s
3 static int foo(int x
) { return x
; }
6 T
get_from_foo(T y
) { return foo(y
); }
8 int g(int z
) { return get_from_foo(z
); }
10 namespace { void f() = delete; }