☰
Debian Codegraph
@
2.11.0~20240909-3
/
/
clang_delta
/
tests
/
reduce-array-dim
/
non-type-temp-arg.cpp
☽
☼
clang_delta/tests/reduce-array-dim/non-type-temp-arg.cpp
code
plain
raw
symbols
SCIP
BSD-3-clause
C-Reduce is Copyright (c) 2011-2012 The University of Utah
debian/copyright
1
// RUN: %clang_delta --transformation=reduce-array-dim --counter=1 %s 2>&1 | %remove_lit_checks | FileCheck %s
2
3
template
<int h>
4
void foo() {
5
// CHECK: double k[1];
6
double k[1][h];
7
// CHECK-NEXT: }
8
}
9
void bar() {
10
foo
<1>();
11
}