summaryrefslogtreecommitdiff
path: root/ccc/precedence.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ccc/precedence.cc')
-rw-r--r--ccc/precedence.cc16
1 files changed, 16 insertions, 0 deletions
diff --git a/ccc/precedence.cc b/ccc/precedence.cc
new file mode 100644
index 0000000..08e29b6
--- /dev/null
+++ b/ccc/precedence.cc
@@ -0,0 +1,16 @@
+#include <iostream>
+
+using namespace std;
+
+
+int main(void)
+{
+ bool a = false;
+ bool b = true;
+
+ cout << (!a && b) << endl;
+
+ double c = 0;
+ if (c) cout << "xx" << endl;
+}
+