mirror of
https://github.com/Gericom/teak-llvm.git
synced 2025-06-21 04:25:45 -04:00

Summary: Fix PR43700 The ConstantEmitter in AggExprEmitter::EmitArrayInit was initialized with the CodeGenFunction set to null, which caused the crash. Also simplify another call, and make the CGF member a const pointer since it is public but only assigned in the constructor. Subscribers: cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D70302
7 lines
99 B
C
7 lines
99 B
C
// RUN: %clang -cc1 -emit-llvm %s -o /dev/null
|
|
|
|
int main() {
|
|
L:
|
|
(void)(void *[]){ &&L, 0, 0 };
|
|
}
|