1 // RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 -Wimplicit-fallthrough -Wunreachable-code-fallthrough %s
2 // expected-no-diagnostics
5 int fallthrough_template(int i
)
11 [[clang::fallthrough
]]; // no warning here, for an unreachable annotation (in the fallthrough_template<true> case) in a template function
19 template int fallthrough_template
<true>(int);