Debian Codegraph @

clang/test/SemaCXX/aarch64-sve-resolve-type.cpp

raw
1 // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fsyntax-only %s
2
3 // REQUIRES: aarch64-registered-target || arm-registered-target
4
5 // expected-no-diagnostics
6
7 struct a {};
8 __SVFloat32_t b(a);
9 template <class c> using e = decltype(b(c()));
10 e<a> f(a);
11 template <class c> using h = decltype(f(c()));
12 template <class g> struct i {
13 static void j() {
14 a d;
15 g()(d);
16 }
17 };
18 struct k {
19 template <class c> void operator()(c) {
20 [](h<c>) {};
21 }
22 void l() { i<k>::j; }
23 };