summaryrefslogtreecommitdiff
path: root/test/SemaCUDA/Inputs/overload.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/SemaCUDA/Inputs/overload.h')
-rw-r--r--test/SemaCUDA/Inputs/overload.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/SemaCUDA/Inputs/overload.h b/test/SemaCUDA/Inputs/overload.h
new file mode 100644
index 0000000000000..1c021f1ec572c
--- /dev/null
+++ b/test/SemaCUDA/Inputs/overload.h
@@ -0,0 +1,8 @@
+// This header is used by tests which are interested in __device__ functions
+// which appear in a system header.
+
+__device__ int OverloadMe();
+
+namespace ns {
+using ::OverloadMe;
+}