Debian Codegraph @

clang/test/SemaCXX/template-instantiation.cpp

raw
1 // RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -verify -fsyntax-only %s
2 // expected-no-diagnostics
3
4 namespace GH76521 {
5
6 template <typename T>
7 void foo() {
8 auto l = []() __attribute__((preserve_most)) {};
9 }
10
11 void bar() {
12 foo<int>();
13 }
14
15 }