summaryrefslogtreecommitdiff
path: root/codegen/vulkan/tests/hpptest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'codegen/vulkan/tests/hpptest.cpp')
-rw-r--r--codegen/vulkan/tests/hpptest.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/codegen/vulkan/tests/hpptest.cpp b/codegen/vulkan/tests/hpptest.cpp
new file mode 100644
index 00000000..fd6acdd1
--- /dev/null
+++ b/codegen/vulkan/tests/hpptest.cpp
@@ -0,0 +1,11 @@
+// Copyright 2019-2021 The Khronos Group Inc.
+//
+// SPDX-License-Identifier: Apache-2.0
+
+#include <vulkan/vulkan.hpp>
+int main()
+{
+ auto const instance_info = vk::InstanceCreateInfo();
+ vk::Instance instance;
+ vk::createInstance(&instance_info, nullptr, &instance);
+}