// RUN: %clang_scs %s -o %t
// RUN: %run %t

// Basic smoke test for the runtime

#include "libc_support.h"
#include "minimal_runtime.h"

int scs_main(void) {
  scs_fputs_stdout("In main.\n");
  return 0;
}

// RUN: %clang_scs -D INCLUDE_RUNTIME %s -o %t
// RUN: %run %t

// RUN: %clang_scs %s -o %t
// RUN: not --crash %run %t

// Basic smoke test for the runtime

#include "libc_support.h"

#ifdef INCLUDE_RUNTIME
#include "minimal_runtime.h"
#else
#define scs_main main
#endif

int scs_main(void) {
  scs_fputs_stdout("In main.\n");
  return 0;
}

--- 
+++ 
@@ -1,18 +1,10 @@
-// RUN: %clang_scs -D INCLUDE_RUNTIME %s -o %t
+// RUN: %clang_scs %s -o %t
 // RUN: %run %t
-
-// RUN: %clang_scs %s -o %t
-// RUN: not --crash %run %t
 
 // Basic smoke test for the runtime
 
 #include "libc_support.h"
-
-#ifdef INCLUDE_RUNTIME
 #include "minimal_runtime.h"
-#else
-#define scs_main main
-#endif
 
 int scs_main(void) {
   scs_fputs_stdout("In main.\n");
[scs] Disable negative test in shadowcallstack.

The test checks that scs does NOT work correctly w/o runtime support.
That's a strange thing to test, and it is also flaky, because things
may just work if x18 happens to point to a writable page.

git-svn-id: c199f293c43da69278bea8e88f92242bf3aa95f7@335982 91177308-0d34-0410-b5e6-96231b3b80d8
