
Fixed: #113044 the type of `ArrayTypeTraitExpr` can be changed, use i32 directly is incorrect. --------- Co-authored-by: Eli Friedman <efriedma@quicinc.com>
7 lines
195 B
C++
7 lines
195 B
C++
// RUN: %clang_cc1 -triple aarch64-unknown-unknown -emit-llvm -o - %s | FileCheck %s
|
|
|
|
unsigned long array_rank_binary_operator(void) {
|
|
// CHECK: ret i64 3
|
|
return __array_rank(int[10]) | 2;
|
|
}
|