summaryrefslogtreecommitdiffstats
path: root/Tests/FindOpenAL/Test/main.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/FindOpenAL/Test/main.cxx')
-rw-r--r--Tests/FindOpenAL/Test/main.cxx13
1 files changed, 13 insertions, 0 deletions
diff --git a/Tests/FindOpenAL/Test/main.cxx b/Tests/FindOpenAL/Test/main.cxx
new file mode 100644
index 0000000..bb45faf
--- /dev/null
+++ b/Tests/FindOpenAL/Test/main.cxx
@@ -0,0 +1,13 @@
+#include <AL/al.h>
+#include <AL/alc.h>
+#include <stdio.h>
+
+int main()
+{
+ /* Reference an AL symbol without requiring a context at runtime. */
+ printf("&alGetString = %p\n", &alGetString);
+
+ /* Reference an ALC symbol without requiring a context at runtime. */
+ printf("&alcGetString = %p\n", &alcGetString);
+ return 0;
+}