Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'tests/org.eclipse.etrice.generator.common.tests/models/VarargsTest.room')
-rw-r--r--tests/org.eclipse.etrice.generator.common.tests/models/VarargsTest.room14
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/org.eclipse.etrice.generator.common.tests/models/VarargsTest.room b/tests/org.eclipse.etrice.generator.common.tests/models/VarargsTest.room
index 19e28a487..fedbbd653 100644
--- a/tests/org.eclipse.etrice.generator.common.tests/models/VarargsTest.room
+++ b/tests/org.eclipse.etrice.generator.common.tests/models/VarargsTest.room
@@ -18,18 +18,15 @@ RoomModel VarargsTest {
Operation log(format: string, args: string varargs) ''''''
Operation single(args: string varargs) ''''''
Operation callTest() '''
- //log("text");
+ //log("text"); // does not work in C due varargs macro
log("text %d", "5");
log("text %d, %s", "5", text);
- //single();
+ //single(); // does not work in C due varargs macro
single("5");
single("5", "txt");
-
- // not supported by translation
- /*
+
port.callTest();
- attr.callTest();
-
+
//port.log("text");
port.log("text %d", "5");
port.log("text %d, %s", "5", "txt");
@@ -37,6 +34,9 @@ RoomModel VarargsTest {
port.single("5");
port.single("5", "txt");
+ // not supported by translation
+ /*
+ //attr.callTest();
//attr.log("text");
attr.log("text %d", "5");
attr.log("text %d, %s", "5", "txt");

Back to the top