summaryrefslogtreecommitdiff
path: root/test/AST
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2018-12-06 09:23:53 +0000
committerStephen Kelly <steveire@gmail.com>2018-12-06 09:23:53 +0000
commitba4c656a2e1227dfa9a49347578101f5a739ace1 (patch)
treecbaeee2bae7989acfbcc1ceeecc228496dd3ed08 /test/AST
parent2d78aeea22f70985715313a9645a13f4dbda812b (diff)
downloadclang-ba4c656a2e1227dfa9a49347578101f5a739ace1.tar.gz
Extend OMP test
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@348470 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/AST')
-rw-r--r--test/AST/dump.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/AST/dump.cpp b/test/AST/dump.cpp
index 11e39f0c4c..c053002fbc 100644
--- a/test/AST/dump.cpp
+++ b/test/AST/dump.cpp
@@ -33,6 +33,13 @@ int ga, gb;
// CHECK-NEXT: | | |-DeclRefExpr {{.+}} <col:45> 'float' lvalue Var {{.+}} 'omp_out' 'float'
// CHECK-NEXT: | | `-ImplicitCastExpr {{.+}} <col:56> 'float' <LValueToRValue>
// CHECK-NEXT: | | `-DeclRefExpr {{.+}} <col:56> 'float' lvalue Var {{.+}} 'omp_in' 'float'
+// CHECK-NEXT: | |-BinaryOperator {{.+}} <col:76, col:98> 'float' lvalue '='
+// CHECK-NEXT: | | |-DeclRefExpr {{.+}} <col:76> 'float' lvalue Var {{.+}} 'omp_priv' 'float'
+// CHECK-NEXT: | | `-BinaryOperator {{.+}} <col:87, col:98> 'float' '+'
+// CHECK-NEXT: | | |-ImplicitCastExpr {{.+}} <col:87> 'float' <LValueToRValue>
+// CHECK-NEXT: | | | `-DeclRefExpr {{.+}} <col:87> 'float' lvalue Var {{.+}} 'omp_orig' 'float'
+// CHECK-NEXT: | | `-ImplicitCastExpr {{.+}} <col:98> 'float' <IntegralToFloating>
+// CHECK-NEXT: | | `-IntegerLiteral {{.+}} <col:98> 'int' 15
struct S {
int a, b;