Home | History | Annotate | Download | only in SemaCXX
      1 // RUN: %clang_cc1 -std=c++11 -fsyntax-only -Wunused -verify %s
      2 // expected-no-diagnostics
      3 
      4 static int foo(int x) { return x; }
      5 
      6 template<typename T>
      7 T get_from_foo(T y) { return foo(y); }
      8 
      9 int g(int z) { return get_from_foo(z); }
     10 
     11 namespace { void f() = delete; }
     12