This removes links to rdar, which is an internal bug tracker that the community doesn't have visibility into. See further discussion at: https://discourse.llvm.org/t/code-review-reminder-about-links-in-code-commit-messages/71847
12 lines
213 B
C++
12 lines
213 B
C++
// RUN: %clang_cc1 -verify -fsyntax-only %s
|
|
// expected-no-diagnostics
|
|
// This previously triggered an assertion failure.
|
|
template<class T>
|
|
struct X {
|
|
T array;
|
|
};
|
|
|
|
int foo(X<int[1]> x0) {
|
|
return x0.array[17];
|
|
}
|