summaryrefslogtreecommitdiffstats
path: root/Tests/FindMatlab/matlab_wrapper_failure.cpp
blob: 5e3f8caa737a6608a2cd09ea238b85eb6b3ed695 (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(int const nlhs, mxArray* plhs[], int const nrhs,
                   mxArray const* prhs[])
{
  mexErrMsgTxt("Should not be running");
}