Mercurial > hg > CbC > CbC_llvm
view clang/test/CodeGen/xcore-unused-inline.c @ 266:00f31e85ec16 default tip
Added tag current for changeset 31d058e83c98
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 14 Oct 2023 10:13:55 +0900 |
parents | 2e18cbf3894f |
children |
line wrap: on
line source
// REQUIRES: xcore-registered-target // RUN: %clang_cc1 -triple xcore-unknown-unknown -emit-llvm -o - %s // D77068 fixes a segmentation fault and assertion failure "Unexpected null // Value" in the case of an unused inline function, when targeting xcore. This // test verifies that clang does not crash and does not produce code for such a // function. inline void dead_function(void) {}