summaryrefslogtreecommitdiffstats
path: root/Tests/FindMatlab/matlab_wrapper_failure.cpp
blob: 3fe437b9013f8c2dc14b4b3bf039cabc7ff91ee2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// This should not link, as the mex function is missing.
// This is mostly for checking we are passing the right arguments to the
// add_library

#include <algorithm>

#include "mex.h"

void mexFunctionXX(const int nlhs, mxArray* plhs[], const int nrhs,
                   const mxArray* prhs[])
{
  mexErrMsgTxt("Should not be running");
}