summaryrefslogtreecommitdiffstats
path: root/Tests/HIP/TryCompile/main.hip
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/HIP/TryCompile/main.hip')
-rw-r--r--Tests/HIP/TryCompile/main.hip8
1 files changed, 8 insertions, 0 deletions
diff --git a/Tests/HIP/TryCompile/main.hip b/Tests/HIP/TryCompile/main.hip
new file mode 100644
index 0000000..091dca3
--- /dev/null
+++ b/Tests/HIP/TryCompile/main.hip
@@ -0,0 +1,8 @@
+int __host__ try_compile_hip_func(int x);
+
+int main(int argc, char** argv)
+{
+ try_compile_hip_func(int(42));
+
+ return 0;
+}