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