MCPcopy Create free account
hub / github.com/NVIDIA/cuda-quantum / test_attribute_on_call

Function test_attribute_on_call

python/tests/kernel/test_kernel_features.py:2700–2702  ·  view source on GitHub ↗

Test accessing attribute on dataclass constructor call result.

()

Source from the content-addressed store, hash-verified

2698
2699 @cudaq.kernel
2700 def test_attribute_on_call() -> int:
2701 """Test accessing attribute on dataclass constructor call result."""
2702 return M(6, 9).i
2703
2704 @cudaq.kernel
2705 def nested_kernel() -> M:

Callers

nothing calls this directly

Calls 1

MClass · 0.85

Tested by

no test coverage detected