Skip to content

Commit 43bca84

Browse files
committed
CPP: Convert test to use a stub rather than a library include.
1 parent 75e545a commit 43bca84

File tree

1 file changed

+5
-1
lines changed
  • cpp/ql/test/query-tests/Critical/InitialisationNotRun

1 file changed

+5
-1
lines changed

cpp/ql/test/query-tests/Critical/InitialisationNotRun/test.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
#include <string.h>
1+
// --- stubs ---
2+
3+
char *strcpy(char *dest, const char *src);
4+
5+
// --- tests ---
26

37
class GlobalStorage {
48
public:

0 commit comments

Comments
 (0)