Home
last modified time | relevance | path

Searched refs:TemplateReturnTy (Results 1 – 1 of 1) sorted by relevance

/llvm-project-15.0.7/clang/test/SemaCUDA/
H A Dfunction-overload.cu23 struct TemplateReturnTy {}; struct
306 template <typename T> TemplateReturnTy template_vs_function(T arg) { in template_vs_function()
307 return TemplateReturnTy(); in template_vs_function()
320 typedef TemplateReturnTy ExpectedReturnTy; in test_host_device_calls_template()
330 TemplateReturnTy ret1 = template_vs_function(1.0f); in test_host_calls_template_fn()
331 TemplateReturnTy ret2 = template_vs_function(2.0); in test_host_calls_template_fn()
341 template <typename T> TemplateReturnTy template_vs_hd_function(T arg) in template_vs_hd_function()
344 return TemplateReturnTy(); in template_vs_hd_function()
354 typedef TemplateReturnTy ExpectedReturnTy; in test_host_device_calls_hd_template()
363 TemplateReturnTy ret2 = template_vs_hd_function(1); in test_host_calls_hd_template()