summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/common/dri_test.c
blob: cf59b2b73789d051a67fe4334a4b1bddf5258961 (plain)
1
2
3
4
5
6
7
8
9
10
/* This is just supposed to make sure we get a reference to
   the driver entry symbol that the compiler doesn't optimize away */

extern char __driDriverExtensions[];

int main(int argc, char** argv)
{
   void* p = __driDriverExtensions;
   return (int)(unsigned long)p;
}