From 36fe4e2729426e011787dae0e45ae350c9822180 Mon Sep 17 00:00:00 2001 From: "Wolfgang (Blub) Bumiller" Date: Tue, 4 Dec 2012 12:50:38 +0100 Subject: [PATCH] noref -compile testcase --- tests/noref.qc | 7 +++++++ tests/noref.tmpl | 4 ++++ 2 files changed, 11 insertions(+) create mode 100644 tests/noref.qc create mode 100644 tests/noref.tmpl diff --git a/tests/noref.qc b/tests/noref.qc new file mode 100644 index 0000000..885d47e --- /dev/null +++ b/tests/noref.qc @@ -0,0 +1,7 @@ +#pragma noref 1 +float unused_global_1; +#pragma noref 0 +noref float unused_global_2; + +void() main = { +}; diff --git a/tests/noref.tmpl b/tests/noref.tmpl new file mode 100644 index 0000000..82f3d3d --- /dev/null +++ b/tests/noref.tmpl @@ -0,0 +1,4 @@ +I: noref.qc +D: noref keyword and pragma +T: -compile +C: -std=qcc -Wall -Werror -- 2.39.2