brintos

brintos / llvm-project-archived public Read only

0
0
Text · 390 B · 8b5bdbf Raw
10 lines · c
1// REQUIRES: xcore-registered-target2// RUN: %clang_cc1 -triple xcore-unknown-unknown -emit-llvm -o - %s3 4// D77068 fixes a segmentation fault and assertion failure "Unexpected null5// Value" in the case of an unused inline function, when targeting xcore. This6// test verifies that clang does not crash and does not produce code for such a7// function.8 9inline void dead_function(void) {}10