diff options
Diffstat (limited to 'tests/misc/badcode.asl')
| -rw-r--r-- | tests/misc/badcode.asl | 31 |
1 files changed, 27 insertions, 4 deletions
diff --git a/tests/misc/badcode.asl b/tests/misc/badcode.asl index 9b576c575594..59e8e2434437 100644 --- a/tests/misc/badcode.asl +++ b/tests/misc/badcode.asl @@ -165,6 +165,29 @@ DefinitionBlock ("badcode.aml", "DSDT", 1, "Intel", "Example", 0x00000001) Name (_INI, 1) Name (_PTP, 2) + // GPE methods that cause type collision (L vs. E) + + Scope (\_GPE) + { + Method (_L1D) + { + } + Method (_E1D) + { + } + } + + // Predefined names that should not have a return value + + Method (_FDM, 1) + { + Return (Buffer(1){0x33}) + } + Method (_Q22) + { + Return ("Unexpected Return Value") + } + /* * Resource Descriptor error checking */ @@ -172,10 +195,10 @@ DefinitionBlock ("badcode.aml", "DSDT", 1, "Intel", "Example", 0x00000001) { // Illegal nested StartDependent macros - StartDependentFn (0, 0) - { - StartDependentFn (0, 0) - { + StartDependentFn (0, 0) + { + StartDependentFn (0, 0) + { } } |
