xref: /libCEED/tests/t007-ceed.c (revision 74653b0dfd9ea5453a7e0d931542e0b08b318f8b)
1 /// @file
2 /// Test creation error message with multiple matching characters
3 /// \test Test creation error message with multiple matching characters
4 #include <ceed.h>
5 
6 int main(int argc, char **argv) {
7   Ceed ceed;
8 
9   size_t end_index;
10   for (end_index = 0; argv[1][end_index]; end_index++) {}
11   argv[1][end_index - 1] -= 1;
12 
13   CeedInit(argv[1], &ceed);
14   // LCOV_EXCL_START
15   CeedDestroy(&ceed);
16   return 0;
17   // LCOV_EXCL_STOP
18 }
19