C++: Accept test changes.

This commit is contained in:
Mathias Vorreiter Pedersen
2024-02-09 13:27:40 +00:00
parent 3719e10ce8
commit cd41a1ca8c

View File

@@ -50,13 +50,13 @@ void test_sources() {
sink(c); sink(c);
sink(d); // $ MISSING: ir sink(d); // $ MISSING: ir
sink(remoteMadSourceVar); // $ MISSING: ir sink(remoteMadSourceVar); // $ ir
int e = localMadSource(); int e = localMadSource();
sink(e); // $ ir sink(e); // $ ir
sink(MyNamespace::namespaceLocalMadSource()); // $: ir sink(MyNamespace::namespaceLocalMadSource()); // $: ir
sink(MyNamespace::namespaceLocalMadSourceVar); // $ MISSING: ir sink(MyNamespace::namespaceLocalMadSourceVar); // $ ir
sink(MyNamespace::MyNamespace2::namespace2LocalMadSource()); // $ ir sink(MyNamespace::MyNamespace2::namespace2LocalMadSource()); // $ ir
sink(MyNamespace::localMadSource()); // $ (the MyNamespace version of this function is not a source) sink(MyNamespace::localMadSource()); // $ (the MyNamespace version of this function is not a source)
sink(namespaceLocalMadSource()); // (the global namespace version of this function is not a source) sink(namespaceLocalMadSource()); // (the global namespace version of this function is not a source)