brintos

brintos / llvm-project-archived public Read only

0
0
Text · 265 B · d05ff4d Raw
12 lines · cpp
1// RUN: %clang_cc1 -std=c++11 -fsyntax-only -Wunused -verify %s2// expected-no-diagnostics3 4static int foo(int x) { return x; }5 6template<typename T>7T get_from_foo(T y) { return foo(y); }8 9int g(int z) { return get_from_foo(z); }10 11namespace { void f() = delete; }12