File: Regression_test_82.cpp

package info (click to toggle)
glbinding 3.3.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 12,972 kB
  • sloc: cpp: 224,461; javascript: 1,615; sh: 114; makefile: 98
file content (23 lines) | stat: -rw-r--r-- 541 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23

#include <gmock/gmock.h>


#include <glbinding/gl/functions.h>  // < imagine this was included by a 3rd party library (e.g., globjects.cpp)

#include <glbinding/gl45core/types.h>
#include <glbinding/gl45core/functions.h>
#include <glbinding/gl45core/enum.h>


using namespace gl45core;

void issue_82()   // Argument-dependent lookup (Koenig lookup)
{
    GLuint index = 0;
    glGetUniformSubroutineuiv(GL_VERTEX_SHADER, 0, &index);
}

TEST(Regression_82, Compilation)
{
    SUCCEED();  // compiling this file results in successful test
}