diff options
author | Stephen Kelly <steveire@gmail.com> | 2018-12-06 09:23:53 +0000 |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2018-12-06 09:23:53 +0000 |
commit | ba4c656a2e1227dfa9a49347578101f5a739ace1 (patch) | |
tree | cbaeee2bae7989acfbcc1ceeecc228496dd3ed08 /test/AST | |
parent | 2d78aeea22f70985715313a9645a13f4dbda812b (diff) | |
download | clang-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.cpp | 7 |
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; |