xref: /libCEED/tests/t007-ceed.c (revision 8ec64e9ae9d5df169dba8c8ee61d8ec8907b8f80)
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   }
12   argv[1][end_index - 1] -= 1;
13 
14   CeedInit(argv[1], &ceed);
15   // LCOV_EXCL_START
16   CeedDestroy(&ceed);
17   return 0;
18   // LCOV_EXCL_STOP
19 }
20