tests: Handle test failures for ust-constructors with heap allocation
[lttng-tools.git] / tests / utils / testapp / gen-ust-events-constructor / uses_heap.cpp
CommitLineData
b8e79f3f
KS
1/*
2 * Copyright 2024 Kienan Stewart <kstewart@efficios.com>
3 *
4 * SPDX-License-Identifier: LGPL-2.1-only
5 */
6
7#include <lttng/ust-compiler.h>
8
9int main()
10{
11#ifdef LTTNG_UST_ALLOCATE_COMPOUND_LITERAL_ON_HEAP
12 return 0;
13#else
14 return 1;
15#endif
16}
This page took 0.023637 seconds and 4 git commands to generate.