summaryrefslogtreecommitdiffstats
path: root/spec/rtems/basedefs/if/typeof-refx.yml
diff options
context:
space:
mode:
Diffstat (limited to 'spec/rtems/basedefs/if/typeof-refx.yml')
-rw-r--r--spec/rtems/basedefs/if/typeof-refx.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/rtems/basedefs/if/typeof-refx.yml b/spec/rtems/basedefs/if/typeof-refx.yml
index 36adaf79..1836fd90 100644
--- a/spec/rtems/basedefs/if/typeof-refx.yml
+++ b/spec/rtems/basedefs/if/typeof-refx.yml
@@ -8,7 +8,7 @@ definition:
default: ''
variants:
- definition: |
- ${/compiler/if/typeof:/name}( _level( union { int z; ${/compiler/if/typeof:/name}( _target ) x; } ){ 0 }.x )
+ ${/compiler/if/typeof:/name}( ${.:/params[0]/name}( union { int _z; ${/compiler/if/typeof:/name}( ${.:/params[1]/name} ) _x; } ){ 0 }._x )
enabled-by:
- defined(${/compiler/if/gnuc:/name})
description: |