aboutsummaryrefslogtreecommitdiff
path: root/tests/exports.cpp
blob: c4a333d6016a7131ad9da6c5f20b4f4af8746a6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright (C) 2008-2011 Colin MacDonald
// No rights reserved: this software is in the public domain.

#include "testUtils.h"

//! Tests that symbols exported from Irrlicht can be used by the user app.
bool exports(void)
{
	logTestString("Checking whether IdentityMatrix is exported.\n");
	irr::core::matrix4 identity = irr::core::IdentityMatrix;
	(void)identity; // Satisfy the compiler that it's used.

	irr::video::SMaterial id = irr::video::IdentityMaterial;
	(void)id; // Satisfy the compiler that it's used.
	// If it built, we're done.
	return true;
}