|
@@ -4,6 +4,12 @@
|
|
|
|
|
|
|
|
#include <ccan/bytestring/bytestring.h>
|
|
#include <ccan/bytestring/bytestring.h>
|
|
|
|
|
|
|
|
|
|
+/*
|
|
|
|
|
+ * BYTESTRING() can only be used safely on a literal string (or,
|
|
|
|
|
+ * strictly, something whose size can be determined with ARRAY_SIZE().
|
|
|
|
|
+ * This checks that it correctly fails to compile if used on a
|
|
|
|
|
+ * non-array pointer.
|
|
|
|
|
+ */
|
|
|
int main(int argc, char *argv[])
|
|
int main(int argc, char *argv[])
|
|
|
{
|
|
{
|
|
|
struct bytestring bs;
|
|
struct bytestring bs;
|