llvm-project/clang/test/SemaCXX/warn-unused-variables.cpp

7 lines
107 B
C++

// RUN: clang -fsyntax-only -Wunused-variable -verify %s
template<typename T> void f() {
T t;
t = 17;
}